Pergunta de entrevista da empresa NeuraFlash

Whiteboard programming question, recursion focused