well-spaced-first-seen-dict-pattern

Status: IN

`well_spaced_string` uses the single-pass first-seen-index dict pattern: record each character's first index, act on the second occurrence — the same pattern used by two-sum, first-duplicate, and related problems.

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

JSON