Question d’entretien chez Goldman Sachs

Question based on Dynamic Programming