結果 : explain knapsack problem using greedy method with example