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

The complexity of Binary search algorithm is ____________.

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

Discussion