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.
Approved
That is strange; I am taking the array you gave and running it through the same function that Codewars should be running it through behind the scenes, and it's turning up correctly. I will look at my test cases and ensure everything looks correct.
The random cases are run through a loop however, so it's imaginable that if there's an issue with one there'd be an issue with them all. Are you passing some random test cases before this happens or does it happen on the first one?
EDIT: I just tried it again and it works. I know Codewars has been buggy for me all day (assigning servers and such), and since the random arrays are generated by a function that should be preloaded in the execution order, maybe it's not being executed serverside by Codewars?
Hi BK - my mistake. I'd tweaked the code for the test cases and accidentally reverted to the old maximum values. This should be fixed now - give it another spin.