mediumNeetCode 150
Permutation in String
Check if s2 contains a permutation of s1 Example: s1 = "ab", s2 = "eidbaooo" => true (contains "ba")
Permutation in String is less about the final answer and more about disciplined window bookkeeping. Interviewers love it because it reveals your stateful scanning and your edge-case discipline. Be disciplined about counts and boundaries; most bugs are off-by-one window moves.
Arrays & HashingSliding WindowStringTwo Pointers

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.
1Part 1: Permutation in Stringmedium
2Part 2
3Part 3
Each locked part opens in the editor once the part before it passes.
Based onLeetCode