Pergunta de entrevista da empresa G-Research

The coding interview was a hackerrank/leetcode type of problem.