What goes in the blank?
// Java: midpoint that cannot overflow int int mid = lo + (hi - lo) ____ 2;
Answer: /
(lo + hi) can exceed Integer.MAX_VALUE; hi - lo cannot.
Play Problem Solving ▸
>> 1 would bind after the + and give the wrong value.