blogdown: cheryl.md
So for some reason, the entire internet
(possibly an exaggeration) has latched onto this Cheryl's Birthday Problem. It's a logic puzzle where you can deduce the solution while knowing only a few facts about what other people in the puzzle know. I first stumbled across this
Prolog solution which explains the problem quite nicely - and then found people had already started implementing their own solutions in e.g.
Java, which made me decide to spend a lazy Monday afternoon hacking away on my own Perl 5 version.