Solutions to problems on HackerRank.com