well-spaced-third-occurrence-bug

Status: IN

If a letter appeared three times (violating the precondition), the third occurrence would silently compare against the first occurrence's index rather than the second — a latent bug guarded only by the problem's guarantee.

Source: entries/2026/06/06/check-distances-between-same-letters-solution.md

JSON