Question d’entretien chez Fractal

LC Dynamic Programming Medium level question