Reverse Vowels of a String
The vowels are a, e, i, o, u in lower or upper case. Return the string you get by reversing the order of only the vowels of s, leaving every other character where it is.
Example 1
s "hello"
returns "holle"
Vowels e and o swap places: holle.
Example 2
s "AeX"
returns "eAX"
Constraints
1 <= len(s) <= 100shas letters and spaces
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.