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.
Pretty straightforward but could use a couple more test cases.
Nice kata! I always like when a kata shows me something I didn't know existed in the language.
This comment is hidden because it contains spoiler information about the solution
I upvoted because it's a good kata but you have to improve the tests. Very few ones. I encourage you to continue creating good katas.
Cool, glad you liked it. I added a test case for a 366 day year and edited the description. Thanks for the feedback.
I liked this one. Definiately a good problem to test some fundamental knowledge.
What is the expected result if both counts are exactly the same? Maybe a third expected return value should be added or the description could be changed to greater or equal?