Pregunta de entrevista de Quantum-Si

Solve this recursive problem, let me watch.