Skip to main content

All Questions

Filter by
Sorted by
Tagged with
4 votes
1 answer
124 views

Minimal substring with all characters contained in string

I was given following task in the interview: Given a string, find shortest substring in it that contains all of the different characters contained in the original string. Here is my solution in ...
Srv19's user avatar
  • 455