1. Computer Science Engineering (CSE)
  2. Data Structures (DS)
  3. The complexity of linear search algorith...
Q.

The complexity of linear search algorithm is____________.

A. O(log n).
B. O(n).
C. O(n2).
D. O(n log n).
Answer» B. O(n).
View all MCQs in:   Data Structures (DS)

Discussion