Which of the following is false?

PYQ GATE 1996Modified — slightly modified from the official paper; see the solution

Which of the following is false?

  1. A.

    100 n log n = O((n log n)/100)

  2. B.

    √log n = O(log log n)

  3. C.

    If 0 < x < y then nx = O(ny)

  4. D.

    2n ≠ O(nk)

Attempted by 183 students.

Sign up free to check your answer

Sign up free

Explore the full course: Algorithms

Loading lesson…