power-of-four-mask-32bit

Status: IN

The mask `0x55555555` only covers bit positions 0–30, so the power-of-four solution assumes n fits in a 32-bit signed integer (matching the LeetCode constraint).

Source: entries/2026/06/06/power-of-four-solution.md

JSON