What is the worst case for linear search?

PYQ AMCAT 2024

What is the worst case for linear search?

  1. A.

    O(nlogn)

  2. B.

    O(logn)

  3. C.

    O(n)

  4. D.

    O(1)

Attempted by 1838 students.

Sign up free to check your answer

Sign up free

Explore the full course: Cdac C Cat Complete Preparation

Loading lesson…