Knapsack With Duplicate Items Leetcode Playground