Problem 438 · Medium

Find All Anagrams in String

Return the starting indices of every window in a string that is an anagram of a shorter pattern. The visual slides a fixed-size window across the text, updating letter counts as characters enter and leave, and marks each matching start.

Open the interactive visualisation