Question d’entretien chez Snap

Dynamic programming and recursion question