結果 : what problems can be solved with dynamic programming