Reverse Vowels of a String
Given a string, reverse only its vowels. The vowels are `a`, `e`, `i`, `o`, and `u` in either case. Keep every consonant, digit, space, and punctuation mark in its original position, and return the resulting string.
Given a string, reverse only its vowels. The vowels are `a`, `e`, `i`, `o`, and `u` in either case. Keep every consonant, digit, space, and punctuation mark in its original position, and return the resulting string.