Given a string s, reverse only the vowels (a, e, i, o, u in both cases) and return the resulting string. All other characters stay in place.
Input: A quoted string s.
Output: Quoted string — vowels reversed.
Input: "hello"
Output: "holle"
Explanation: e and o swapped.Input: "leetcode"
Output: "leotcede"
Explanation: Vowels reversed in place.Input: "aA"
Output: "Aa"
Explanation: Both are vowels.1<=s.length<=3*10^5