1.

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» D. the array\s size must be a power of two.


Discussion

No Comment Found