CodingMedium/Hard
Smallest substring containing all characters of pattern
Filed under Sumologic
The question
Given a string and a pattern, find the smallest substring in the string containing all characters of the pattern.
No write-up yet. Related questions below have one.
Related Sumologic questions
Collected from public candidate posts and coding forums. Updated Nov 2026.