Question d’entretien chez Showatech

They asked to solve the problem in dynamic programming