{"id":"well-spaced-first-seen-dict-pattern","text":"`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.","truth_value":"IN","source":"entries/2026/06/06/check-distances-between-same-letters-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"well-spaced-first-seen-dict-pattern","truth_value":"IN","reason":"premise"}]}}