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.
try using [::-1]
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 :)
...
No :D
No :D
Do you really need to comment for something like that? :D
Parenthesis adds readability.
This comment is hidden because it contains spoiler information about the solution
In 7 kyu katas it would be nice to test this aspect specifically with corresponding error messages. Here the test in JS are no more editable because there're too many solutions.
@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.
It's not an issue if mutating the array causes tests to go weird.
You shouldn't be mutating anything that doesn't belong to you after all. It's undefined behaviour.
I just ran into this issue while refactoring my code to use reverse()
Yeah, true, in case of consequtive 0s we get ''...
actually not the same
No
Loading more items...