Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Got it thanks. See now that avoiding duplicates only matters for output, not input; for instance aaabbbb would be valid input? ---> bababab... That was the point that was a little unclear to me, my mistake!
Please read the Kata description again. It clearly states what will be considered a vowel.
The description says something about there being equal number of vowels and consonants...
shouldnt this be ordered alphabetically
when i run the test it assumes "e" as if it is the 2nd letter on the alphabet
i got this:
Expected: 'edorur', instead got: 'deroru'
Expected: 'ebefegikilimomonupupuqusuw', instead got: 'befegekilimimonopupuqusuwu'
and some more like that
The y is a vowel in acidity, but a consonant in caditiy... Otherwise you would have a double consonant 'ty' or a double vowel 'iy' if y behaved as one or the other; it is contextual. This is what I was referring to.
Not really. You have to alternate vowels and consonants. Look again...between the two, only
caditiy
does that.y
is not a vowel in this Kata.acidity should return acidity as described in the example tests... Or else it should return failed if you conisder y a consonant in this case... What to do with y is an issue, doesn't fall neatly into either category.