Find Smallest window that contains all characters of string itself

Find Smallest window that contains all characters of string itself - Coding Problem | K5kC