CodingMedium
Substrings of length k with k-1 distinct elements
Filed under FICO
The question
Find substrings of length k that contain exactly k-1 distinct characters.
No write-up yet. Related questions below have one.
Related FICO questions
Collected from public candidate posts and coding forums. Updated Nov 2026.