Question: Sort the functions in increasing order of big-O complexity
- f1(n) = (n^0.999999) log n
- f2(n) = 10000000n
- f3(n) = 1.0000001^n
- f4(n) = n^2
My answer to this question is that is: 3, 2, 1, 4 (in increasing order) based on the rule that we can ignore constants.
But the answer I found in the solution booklet is:
The correct order of these functions is f1(n), f2(n), f4(n), f3(n).
I am not able to understand this. Can anyone explain? Here is the solution's explanation if it helps.