Status: IN
In `maxLengthBetweenEqualCharacters`, `first_seen[c]` is written exactly once per distinct character; subsequent occurrences take the `if` branch and compute the gap without updating the stored index.
Source: entries/2026/06/06/largest-substring-between-two-equal-characters-solution.md