Question d’entretien chez Coupang

coding question was related to dynamic programming