7 kyu
Find the vowels
378 of 19,557willjharmer
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 | 30045 |
Total Skips | 2633 |
Total Code Submissions | 83947 |
Total Times Completed | 19557 |
Haskell Completions | 378 |
Python Completions | 7564 |
Ruby Completions | 1155 |
Clojure Completions | 243 |
CoffeeScript Completions | 39 |
C++ Completions | 1922 |
JavaScript Completions | 7319 |
C# Completions | 744 |
COBOL Completions | 9 |
C Completions | 148 |
TypeScript Completions | 334 |
Java Completions | 54 |
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 |