Which of the following is not the required condition for binary search algorithm?

  1. The list must be sorted

  2. there should be the direct access to the middle element in any sublist

  3. There must be mechanism to delete and/or insert elements in list

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


Correct Option: D

Find more quizzes: