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.
For loops need all three statements together like this : for (var i = 0; i < array.length; i += length).
There is also a better way for flattening nested arrays.
Thanks for the feedback. I just corrected it.
Thanks for the feedback. I double checked and every thing seems to be working. Would you please give it another try?
I thought you already finished it.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Actually there is noway to know for sure, since there is no thematic or semantic context. So the result array should contain both.
Thanks for the feedback. I added more lines to the description. In the case of "Eerschay", as it ends with "ay", first it should be checked if it has vowel before "h" or not. If not possibilities are 2. Either 2 consonants moved to the end or 1. The result array should contain both those possibilities.
Thanks for the feedback. You're absolutely right. I just corrected it.
Random tests added. And it does not always garantee having the number. I might change it later.
Thanks for the feedback. It is so easy without random tests and I'm trying to figure out how to add it to the kata.