happy-number-fast-starts-ahead

Status: IN

The fast pointer is initialized one step ahead (`get_next(n)`) while slow starts at `n` — this offset is critical for Floyd's algorithm to detect cycles correctly when the starting value itself is part of a cycle.

Source: entries/2026/06/06/happy-number-solution.md

JSON