Minimum Window Substring
Find minimum window substring containing all characters from t Example: s = "ADOBECODEBANC", t = "ABC" => "BANC"
Minimum Window Substring is the sliding window pattern: grow, shrink, and maintain just enough state to stay linear. It's a hard one for a reason: it stresses stateful scanning when the rules pile up. Once your window update rules are consistent, you get linear time almost for free.

Meet Coco
Coco is an AI study partner, not a person. She listens while you explain your code, asks what a line does and never hands you the fix. Typing with Coco is free when you sign in, up to a daily limit. Talking with her out loud comes with the $79 pack. Anyone can open the editor and run their code.
Each locked part opens in the editor once the part before it passes.