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.
I guess I really should get some sleep...
This comment is hidden because it contains spoiler information about the solution
Haha! I see it. Thanks!
Test in the Go version reports a correct result as wrong.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This was literally my first thought and after reading the cryptic manpage for diff() I thought: Nah, this will never work... And yet, here we are. Well done.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Sorry, this was sloppy. See fork for improved control flow.
Felt like doing a recursion here.
In hindsight the most verbose implementation one could think of ;-)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I missed the point here how to actually calculate the century entirely. This is NOT a best practice ;-)