American Express Interview Question

Was asked a string vowel manipulation question.