Arrange the following functions in increasing order of time complexity. f1(n)…
Arrange the following functions in increasing order of time complexity.
f1(n) = n2
f2(n) = n3log (log(n))
f3(n) = n2log (n)
f4(n) = n!
- A.
f1, f3, f2, f4
- B.
f2, f4, f1, f3
- C.
f1, f2, f3, f4
- D.
None of the above
Attempted by 555 students.
Sign up free to check your answer
Sign up freeLoading lesson…

