the accepted code of the hackerrank challenges. part1 algorithms