My Hackerrank solutions