
Find the smallest window in a string containing all characters of another string (With smallest window)
Given two strings string1 and string2, find the smallest substring in string1 containing all characters of string2 efficiently.For Example: Steps: Generate all substrings which starts with any one character from the pattern string Iterate...