What additional requirement is placed on an array, so that binary search may be used to locate an entry?

Question:
What additional requirement is placed on an array, so that binary search may be used to locate an entry?

1.the array elements must form a heap

2. the array must have at least 2 entries.

3. the array must be sorted.

4.the arrays size must be a power of two.

Posted Date:-2022-07-08 02:24:31


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!