HackerRank.com problems and solutions