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.
2.3k
0
Do you find this helpful?
23

Discussion

No comments yet