The problem link https://leetcode.com/problems/minimum-window-substring/

I use the sliding window method.

you can drag the pointers. the bottom one is the right pointer which means it can only in the right side.

you can also change the string s and t.

Click the solve button to see how the algorithm work!

Leave a comment

Log in with itch.io to leave a comment.