Question d’entretien chez MindTickle

Hard level question on Dynamic Programming.