Leetcode 2785. Sort Vowels in a String
Reorder only the vowels (a, e, i, o, u, case-sensitive) in the string into nondecreasing ASCII order while keeping all consonants fixed at their original indices, and return the resulting string.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Your account is free and you can post anonymously if you choose.