Question d’entretien chez Genesys

Leetcode question in dynamic programming