Question d’entretien chez Numbrs

Dynamic programming problem on HackerRank platform.