Checkpoint8 min

Binary Search Checkpoint

Boundary conditions, rotated-array logic, and spotting minimize-the-maximum phrasing.

Question 1 of 8

In the exact-match template with inclusive bounds, why must the updates be lo = mid + 1 and hi = mid - 1 rather than lo = mid / hi = mid?