Solutions of problems from HackerRank