結果 : write an algorithm for knapsack problem using greedy strategy