find-hackerrank solution