Given a string s, reverse only all the vowels in the string and return it.
Example 1:
Input: IceCreAm Output: AceCreIm
Example 2:
Input: leetcode Output: leotcede
Input format: A single string.
Output format: String with vowels reversed.
Given a string s, reverse only all the vowels in the string and return it.
Example 1:
Input: IceCreAm Output: AceCreIm
Example 2:
Input: leetcode Output: leotcede
Input format: A single string.
Output format: String with vowels reversed.