English

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

Advertisements
Advertisements

Question

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

Options

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

  • must use a sorted array 

  • there must be a mechanism to access middle element directly

  • the binary search algorithm is not efficient when the data elements more than 1500.

MCQ

Solution

the binary search algorithm is not efficient when the data elements more than 1500.

shaalaa.com
Binary Search
  Is there an error in this question or solution?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×