Status: IN
`hamming_weight` uses Brian Kernighan's `n &= n - 1` trick, iterating exactly k times for k set bits rather than a fixed 32 iterations
Source: entries/2026/06/06/number-of-1-bits-solution.md
JSON