Permutation in String — a fixed-width sliding window
Slide a window the width of the target across the text. When the window's letter counts exactly match the target's, it holds one of the target's permutations.
Try:
← Prev
Next →
▶ Play
Reset
s2 (the text)
character types still short
0