Problem 1839 · Medium

Longest Substring Of All Vowels in Order

Find the longest substring containing all five vowels in nondecreasing order.

Open the interactive visualisation