Question d’entretien chez Baidu

leetcode stock, which is a dp