結果 : difference between divide and conquer greedy method and dynamic programming