Solutions to FB Hacker cup problems in Ruby