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!

  1. A.

    f1, f3, f2, f4

  2. B.

    f2, f4, f1, f3

  3. C.

    f1, f2, f3, f4

  4. D.

    None of the above

Attempted by 555 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…