結果 : greedy algorithm vs dynamic programming vs divide and conquer