Q. Which of the following is not a limitation ofbinary search algorithm ? (Solved)

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

2. must use a sorted array

3. requirement of sorted array is expen- sive when a lot of insertion and dele- tions are needed

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

  • a. binary search algorithm is not efficient when the data elements are more than 1000.
Subscribe Now

Get All Updates & News