My solutions to Facebook Hacker Cup 2013