Pregunta de entrevista de Squarepoint Capital

The coding question was on recursion