7 kyu
Find the vowels
744 of 19,576willjharmer
Description:
We want to know the index of the vowels in a given word, for example, there are two vowels in the word super (the second and fourth letters).
So given a string "super", we should return a list of [2, 4]
.
Some examples:
Mmmm => []
Super => [2,4]
Apple => [1,5]
YoMama -> [1,2,4,6]
NOTES
- Vowels in this context refers to: a e i o u y (including upper case)
- This is indexed from
[1..n]
(not zero indexed!)
Fundamentals
Similar Kata:
Stats:
Created | Dec 27, 2015 |
Published | Dec 28, 2015 |
Warriors Trained | 30092 |
Total Skips | 2634 |
Total Code Submissions | 84033 |
Total Times Completed | 19576 |
Haskell Completions | 379 |
Python Completions | 7572 |
Ruby Completions | 1155 |
Clojure Completions | 243 |
CoffeeScript Completions | 39 |
C++ Completions | 1923 |
JavaScript Completions | 7320 |
C# Completions | 744 |
COBOL Completions | 9 |
C Completions | 148 |
TypeScript Completions | 338 |
Java Completions | 59 |
Total Stars | 253 |
% of votes with a positive feedback rating | 89% of 2370 |
Total "Very Satisfied" Votes | 1919 |
Total "Somewhat Satisfied" Votes | 364 |
Total "Not Satisfied" Votes | 87 |