結果 : why is 0 1 knapsack algorithm a dynamic programming solution