What is the best case runtime of linear search(recursive) algorithm on an…

PYQ Wipro NLTH / Elite 2024

What is the best case runtime of linear search(recursive) algorithm on an ordered set of elements?

  1. A.

    O(1)

  2. B.

    O(n)

  3. C.

    O(logn)

  4. D.

    O(nx)

Attempted by 427 students.

Sign up free to check your answer

Sign up free

Explore the full course: Cdac C Cat Complete Preparation

Loading lesson…