Pregunta de entrevista de Prima Assicurazioni

Implement a python decorator to cache recursive function results.