Which of the following is not a limitation of binary search algorithm?

  1. must use a sorted array

  2. requirement of sorted array is expensive when a lot of insertion and deletions are needed

  3. there must be a mechanism to access middle element directly

  4. binary search algorithm is not efficient when the data elements are more than 1000.


Correct Option: D

Find more quizzes: