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.
Rejecting as superseded by a fork with updated description.
Solution sharing != kata suggestion.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Approved by someone, although the test suite needs some cleaning to follow DRY principle with useful debugging messages upon failure :-)
Corrected Here
Tad bit late on this, but hopefully helpful for future users:
The way this function is written is in the arrow function form but it's ultimately the exact same thing as doing the regular function declaration form that you wrote. Just returns 1 line instead and makes the code look more clean.
Nice stairs
added sample tests
Enabled in this fork
I passed 3 first tests but on the random tests i have this:
expected undefined to equal 49
Enabled in this fork
Fixed in this fork
Enabled in this fork
luckily I had some experience in backend before attempting this stupid kata
Loading more items...