My attempt at the Pinterest Coding Challenge handed out at GHC 2014 in Phoenix, AZ.