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.
Global variables in sample tests should be moved to corresponding
it
blocks as it results in wrong outputEDIT: same case for test case section tho it passes
This comment is hidden because it contains spoiler information about the solution
If your intention is to make naive approaches fail, then:
a) you need to mention input sizes, etc in the description
b) you need to increase tests slightly. My posted solution often fails, but occasionally passes, and it is about as straightforward as it gets.
This comment is hidden because it contains spoiler information about the solution
Duplicate
There is too many test cases. My browser just crashed after I pressed Attempt button.