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.
Oh my bad... It's an integer from 0 to 6 and now I see what is the major issue with my kata... I put the constant initialization in the "preloaded" section, so nobody had normal way to see what is it. Edited it, should be clear now. Thanks for the help
Thanks, I'll add your testcase to kata
You're right, I'll do that
It seems, you just accidentally broke the codewars
Thanks for the feedback!
See comment to the christianhammer's solution
I reviewed your solution and found that it returns an empty array if the longest sequence is placed in the beginning of the source array. Added a testcase for this.
Well, your solution is really really
longinteresting :DNow the ambiguity is gone, well done!
It would be cool to add an option to store all kata solutions in a separate project on GitHub, specifying its name.
"all even indexed characters in each word upper cased, and all odd indexed characters in each word lower cased"
<naggermode>In fact, the opposite is true: first character (odd) must be upper cased, second character (even) must be lower cased, etc. Or you should mention that numeration starts at zero, which is an even character. I know, we're all programmers here, but people don't count from zero.</naggermode>