confusing-number-single-pass

Status: IN

The solution extracts digits right-to-left and rebuilds the rotated number left-to-right in one pass, simultaneously reversing digit order and applying the rotation mapping in O(d) time.

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

JSON