1.

Consider the following recursive implementation of the binary search. Which of the following lines should be added to complete the below code?

A. hi = mid – 1
B. mid = (lo + hi)/2
C. mid = lo – 1
D. lo = mid + 1
Answer» E.


Discussion

No Comment Found