Which of the following statements is/are TRUE? I. The time complexity of…

Which of the following statements is/are TRUE?

I. The time complexity of recurrence relation T(n) = 2048 T(n/2) + O(n1000) is asymptotically faster than T(n)=4T(n-1024) + O (1), T (0) = 1.

II. The time complexity of recurrence relation T(n)=8T(n/2) + O (1) is asymptotically faster than T(n)=4T(n/8) + O (1).

  1. A.

    Only I

  2. B.

    Only II

  3. C.

    Both I and II

  4. D.

    None of the above

Attempted by 82 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…