power-of-three-32bit-assumption

Status: IN

The power-of-three solution is only correct for inputs in [-2^31, 2^31-1]; any power of 3 exceeding 3^19 (e.g., 3^20) would incorrectly return `False`.

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

JSON