divide and conquer vs greedy method vs dynamic programmingの検索結果