Solutions of Hackerrank.com's problems