input : "race car"
output : "reca car"
expected : "race car"
ok, sorry for the question, I think I understood it wrong. I just keep swapping consecutive vowels.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.