Pergunta de entrevista da empresa Google

Two leetcode questions that solve variations the knapsack problems