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.
Sample tests shouldn't be randomized.
I think it would be nice if description mentioned whether it is possible/guaranteed that history entries do/don't span beyond the winning point. For example, I think it should be explicitly mentioned if following input is possible:
[0,3,1,4,2,5]
. Unless you consider such game invalid, which IMO is arguable ;)