problem solving interview questions hackerrank