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.
spoiler flag, plz.
This comment is hidden because it contains spoiler information about the solution
okay, I'm replying because I spent awhile staring at this and not understanding, trying to figure out how order mattered or somesuch. It appears that the random tests are evaluated after the test runs against your code. So if the original input is modified (via pop, for example), then the rolls passed to the test to validate are incorrect. It (likely) doesn't have anything to do with the result you are calculating.
This comment is hidden because it contains spoiler information about the solution