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 agree. I would especially like to see rankings that are based on solving katas only. (Possibly a ranking filter where the user can choose what points to include in the ranking)
The description should say "reverse the ORDER of the words", not "reverse the words".
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
You should probably specify the error-handling more. I had to cheat and use Function.prototype.caller to see what you wrote in the submit-testcases, to figure out what the behaviour was supposed to be.
Otherwise really nice kata!
It says in the instructions that there will alwways be 2 points in the input. Yet there are 2 test cases with less than 2 points (1 with none, 1 with 1 point).
You should probably explicitly state that case is not ignored.
This comment is hidden because it contains spoiler information about the solution
How is this best practice or clever?
This algorithm is O(kn), where n is the inputsize and k is value of the result (this is bad. For 32bit integers that means if you put in [0, 2^32-1] then the computation time will be ~2^32-1, now imagine > 32bit).