結果 : greedy approach in algorithm