1. Computer Science Engineering (CSE)
  2. Data Structures (DS)
  3. Searching, Sorting and Hashing Technique...
  4. What is the best case for linear search?
Q.

What is the best case for linear search?

A. O(nlogn)
B. O(logn)
C. O(n)
D. O(1)
Answer» D. O(1)
View all MCQs in:   Data Structures (DS)

Discussion