Question d’entretien chez Beyond Limits

An Easier Dynamic Programming question