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.
This is the logic construction part of the kata and should not be given away like that, closing.
This comment is hidden because it contains spoiler information about the solution
Yes, (BTW if you subtract the adjacents elements, current kata would be reduced to the linked kata, but I think there are closer duplicates).
Point of the issue was to avoid blind approval.
The kata you linked is different from this one but I'm pretty sure that finding groups of consecutive values has been done before.
Duplicate: https://www.codewars.com/kata/586d6cefbcc21eed7a001155
Python translation:
https://www.codewars.com/kumite/60980117bdfe880006bb4e21?sel=60980117bdfe880006bb4e21
Disgustingly awful kata. You can figure out the code for this, then you're playing a guessing game with what words are included in the decrypted message. Fair enough, but it doesn't exactly help you figure out what those words are when the output messages say 'value is not what expected', instead of showing what you return. Even just printing the inputs is a task. Not to mention sample cases are irrelevant to the actual cases. Pathetic.
Not an issue. Your solution is wrong.
Done.
Added random tests
This comment is hidden because it contains spoiler information about the solution
Removed second arg
Also added
puzzle
tagRemoved second arg
Nice!!
Loading more items...