Solutions of hackerrank.com challenges