Ad
  • Custom User Avatar

    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).