Status: IN
The distance formula `i - first_seen[c] - 1` counts characters *strictly between* the two occurrences, excluding both endpoints — matching the LeetCode problem's definition.
Source: entries/2026/06/06/check-distances-between-same-letters-solution.md