1.

If the binary search algorithm determines that the search argument is in the lower half of the array, which of the following statements will, set the appropriate variable to the appropriate value?

A. Stop Sub = middle Sub - 1,
B. Stop Sub = middle Sub + 1.
C. Start Sub = middle Sub - 1,
D. Start Sub = middle Sub + 1,
Answer» E.


Discussion

No Comment Found