Minimum Window Substring
General Framework to Solve Substring Problems Given a string and need to find a substring of it which satisfy some restrictions. A general way is to use a hashmap assisted with two pointers. https://leetcode.com/problems/minimum-window-substring/discuss/26808/Here-is-a-10-line-template-that-can-solve-most-‘substring’-problems Minimum Window Substring (Framework Solution) This is the “substring framework” solution. Core idea is that when each time end pointer […]