Minimum length substring with all distinct characters
Filed under Sabre
The question
Find the length of the smallest substring that contains all distinct characters present in the original string.
No write-up yet. Related questions below have one.
Related Sabre questions
Collected from public candidate posts and coding forums. Updated Nov 2026.