7 kyu
Sort the Vowels!
1,864 of 4,120zruF
Description:
Sort the Vowels!
In this kata, we want to sort the vowels in a special format.
Task
Write a function which takes a input string s
and return a string in the following way:
C| R|
|O n|
D| d|
"CODEWARS" => |E "Rnd Te5T" => |
W| T|
|A |e
R| 5|
S| T|
Notes:
- List all the Vowels on the right side of
|
- List every character except Vowels on the left side of
|
- for the purpose of this kata, the vowels are :
a e i o u
- Return every character in its original case
- Each line is seperated with
\n
- Invalid input
( undefined / null / integer )
should return an empty string
Fundamentals
Algorithms
Strings
Similar Kata:
Stats:
Created | Oct 16, 2017 |
Published | Oct 16, 2017 |
Warriors Trained | 6951 |
Total Skips | 123 |
Total Code Submissions | 15196 |
Total Times Completed | 4120 |
JavaScript Completions | 1864 |
Python Completions | 1856 |
Clojure Completions | 34 |
Julia Completions | 14 |
Ruby Completions | 86 |
TypeScript Completions | 125 |
C Completions | 58 |
C# Completions | 139 |
Go Completions | 86 |
Total Stars | 71 |
% of votes with a positive feedback rating | 92% of 626 |
Total "Very Satisfied" Votes | 542 |
Total "Somewhat Satisfied" Votes | 69 |
Total "Not Satisfied" Votes | 15 |
Total Rank Assessments | 12 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 8 kyu |