結果 : greedy algorithm vs divide and conquer