![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
Q. |
What additional requirement is placed on an array, so that binary search may be used to locate an entry? |
A. | the array elements must form a heap |
B. | the array must have at least 2 entries. |
C. | the array must be sorted. |
D. | the array\s size must be a power of two. |
Answer» C. the array must be sorted. |
View all MCQs in
Data Structure and Algorithms (DSA)No comments yet