1. Computer Science Engineering (CSE)
  2. Data Structure (DS)
  3. In general, the binary search method nee...
Q.

In general, the binary search method needs no more than ……………. comparisons.

A. [log2n]-1
B. [logn]+1
C. [log2n]
D. [log2n]+1
Answer» D. [log2n]+1
View all MCQs in:   Data Structure (DS)

Discussion