vaskoz/dailycodingproblem-go

Day 320

vaskoz opened this issue · 0 comments

Good morning! Here's your coding interview problem for today.

This problem was asked by Amazon.

Given a string, find the length of the smallest window that contains every distinct character. Characters may appear more than once in the window.

For example, given "jiujitsu", you should return 5, corresponding to the final five letters.