6 kyu
Reverse Vowels In A String
1,329 of 2,002mmmaaatttttt
Description:
In this kata, your goal is to write a function which will reverse the vowels in a string. Any characters which are not vowels should remain in their original position. Here are some examples:
"Hello!" => "Holle!"
"Tomatoes" => "Temotaos"
"Reverse Vowels In A String" => "RivArsI Vewols en e Streng"
For simplicity, you can treat the letter y as a consonant, not a vowel.
Good luck!
Strings
Fundamentals
Similar Kata:
Stats:
Created | Dec 23, 2016 |
Published | Dec 24, 2016 |
Warriors Trained | 3192 |
Total Skips | 45 |
Total Code Submissions | 6228 |
Total Times Completed | 2002 |
JavaScript Completions | 1329 |
CoffeeScript Completions | 10 |
Python Completions | 702 |
Total Stars | 74 |
% of votes with a positive feedback rating | 95% of 380 |
Total "Very Satisfied" Votes | 348 |
Total "Somewhat Satisfied" Votes | 27 |
Total "Not Satisfied" Votes | 5 |
Total Rank Assessments | 11 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |