patternabtextcabd?
mediumGrind 75

Permutation in String

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 Allison & Tim

Your AI coaches

Practice coding interviews out loud with real-time voice coaching. Your code actually runs.

Free ยท No sign up ยท Early access
1Part 1: Permutation in Stringmedium
2Part 2
3Part 3

Start Part 1 to unlock your next challenge

Based onLeetCode

Get this problem sent to your inbox