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.
to_proc shortcut. read more here: http://stackoverflow.com/questions/1217088/what-does-mapname-mean-in-ruby
Used your examples, thanks :)
It does clearly state that the year will be 4 digits, so 10000+ is out of the question.
There should be some random tests with years in the 3000-9999 range, though.
This comment is hidden because it contains spoiler information about the solution
Pretty interesting idea. Will see what I can do
Could you please add a test case for like year 6000+? Would be interesting to see 10000+.