My hackerrank.com solutions