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.
Unfortunately, I cannot edit the tests any more, as too many people have completed this kata.
Test.randomize()
is part of the test quite built-in to Codewars. It randomizes the order of the given array.Infinity
should be AN, I think. The idea is to make sure the value is a number of some kind, soInfinity
should be allowed. As I said, I cannot add this in, but that's a good idea, nonetheless.