Hacker News new | ask | show | jobs
by InnocentB 5346 days ago
That's indeed a fun little problem, thanks!

For the lazy, solutions are at http://pastebin.com/XJZTFGHP

2 comments

Nice. I had some slightly different solutions in mind, which I have added: http://pastebin.com/TeBPHbb6
Yes, I enjoyed that diversion quite a bit.

A few different solutions: http://pastebin.com/Mf6ZmhfA