Status: IN
`has_alternating_bits` runs in O(1) time and space with no loops or string conversion — pure arithmetic on two intermediate values.
Source: entries/2026/06/06/binary-number-with-alternating-bits-solution.md
JSON