Question d’entretien chez Lab49

write a higher order function for memoization.