Question d’entretien chez Anonymous

dynamic programming problem with a twist