Problem 3913 · Medium
Count vowels, rank them by frequency and first occurrence, then fill only the original vowel slots.
Open the interactive visualisation