Question d’entretien chez Cisco

Dynamic programming problem leetcode medium