Google Interview Question

Two leetcode questions that solve variations the knapsack problems