overflow-safe-midpoint-convention

Status: IN

Binary search solutions use `left + (right - left) // 2` instead of `(left + right) // 2` as a consistent idiom across the repo, borrowed from C/Java overflow safety even though Python has arbitrary-precision integers.

Source: entries/2026/06/06/binary-search-solution.md

JSON