Pregunta de entrevista de Cadence Design Systems

Dising another game - also recursive solution.