McqMate
| Q. |
Which of the following is not a limitation of binary search algorithm ? |
| A. | binary search algorithm is not efficient when the data elements are more than 1000. |
| B. | must use a sorted array |
| C. | requirement of sorted array is expen- sive when a lot of insertion and dele- tions are needed |
| D. | there must be a mechanism to access middle element directly |
| Answer» A. binary search algorithm is not efficient when the data elements are more than 1000. | |
View all MCQs in
Data Structure and Algorithms (DSA)No comments yet