Solutions to problems post on HackerRank.