Hackerrank problems code