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.
This comment is hidden because it contains spoiler information about the solution
Skipping one element and then checking if any left should be faster than counting since it runs in constant time instead of linear, hopefully making up for the extra function call. I also introduced C# 6 syntax, changed some formatting and rewrote the test suite (trying to keep and clarify the orthogonality of the tests).
This comment is hidden because it contains spoiler information about the solution