Tuesday, 28 August 2012

Which of the following is not a limitation of binary search algorithm? | Data Structures.

A. must use a sorted array
B. requirement of sorted array is expensive when a lot of insertion and deletions are needed
C. there must be a mechanism to access middle element directly
D. binary search algorithm is not efficient when the data elements are more than 1000.

 Ans:  D


No comments: