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