Question d’entretien chez LinkedIn

Dynamic programming question, don't remember the details