Solutions for the Facebook Hacker Cup 2013 coding competition.