Question d’entretien chez Accenture

Python coding question on dynamic programming