Question d’entretien chez Google

Two leetcode questions that solve variations the knapsack problems