reverse-bits-accumulator-pattern

Status: IN

`reverse_bits` builds its result LSB-first via `(result << 1) | (n & 1)`, extracting bits from `n` right-to-left and placing them left-to-right in the accumulator — no string conversion or array needed.

Source: entries/2026/06/06/reverse-bits-solution.md

JSON