結果 : what is the time complexity of knapsack problem when solved using dynamic programming