What requirement is placed on an array so that binary search-03566
What requirement is placed on an array, so that binary search may be used to locate an entry?
This multiple choice question (MCQ) is related to the book/course vu cs301 Data Structures. It can also be found in vu cs301 Mid Term - Quiz No.6.
What requirement is placed on an array, so that binary search may be used to locate an entry?
The array elements must form a heap.
The array must have at least 2 entries.
The array must be sorted.
The array's size must be a power of two.