Solutions to HackerRank Challenges