811. Reverse Vowels
0
Easy
Given a string 's', reverse the order of the vowels in the string and return the modified string. The vowels include both uppercase and lowercase 'a', 'e', 'i', 'o', and 'u'.
Input Format
A string 's'.
Output Format
A string with the vowels reversed.
Example
Input
hello
Output
holle
Constraints
The length of the string 's' is between 1 and 300,000, and it consists of printable ASCII characters.
Loading...
View Submissions
Console