Solutions for HackerRank challenges.