Problem 1456 · Medium

Maximum Number of Vowels in a Substring of Given Length

Find the largest number of vowels in any window of fixed length k within a string. The visual slides the window and tracks the vowel count.

Open the interactive visualisation