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.
I think they are distracting. We use parenthesis when we have to, thus it's an implied warning: watch out these things need to be done first. Using them needlessly is like TYPING IN ALL CAPS.
It really is like killing baby seals :)
@Voile, that maight be so, but then the practice test cases should behave the same as the final test cases. Or make the complexity of the question harder because for 67 kyu level people, this is hard to even comprehend.
Yeah, true, in case of consequtive 0s we get ''...
Do you really need the parenthesis?
Why the excessive number of parenthesis? and the lack of whitespacing operators?
This comment is hidden because it contains spoiler information about the solution
THIS KATA IS BROKEN.
The
reverse()
which is going to be used by the majority of the submitters is mutating the array. This interferes with the Codewars tests, but strangely not with the sample tests. I would recommend isolating the arrays that are passed inteh final tests.This comment is hidden because it contains spoiler information about the solution