首页 > 其他 > 详细

Dynamic Programming

时间:2017-08-09 19:54:36      阅读:167      评论:0      收藏:0      [点我收藏+]

First, think of solution as a linear sequence of decisions.

Second, work backward from the last decision to see: how a decision depends on previous decisions.

Third, introduce some notation to express the recursive relation,

Fourth, generate condition, find out boundary condition, find out how to do iteration

 

Typical problem: knapsack, longest common subsequence...

Dynamic Programming

原文:http://www.cnblogs.com/ariel-zhang/p/6902562.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!