Multiple choice

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

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

null