Question d’entretien chez ByteDance

I think there was a dynamic programming question