What goes in the blank?
# discard the half that cannot contain the target
if arr[mid] < target:
low = mid + ____
Answer: 1
mid has already been tested, so the next window starts one past it.
Play Problem Solving ▸
# discard the half that cannot contain the target
if arr[mid] < target:
low = mid + ____
Answer: 1