Some solutions for challenges at HackerRank