結果 : why does memoization work well with dynamic programming