Problem 1: Knapsack Variant (Pseudocode) Consider the following version of