binary-gap-negative-input-infinite-loop

Status: OUT

Passing a negative integer to `binary_gap` causes an infinite loop because Python's arbitrary-precision right-shift of a negative number never reaches `0`.

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

Depended on by

JSON