Full threadwilbertliu·Practice on online judge helps! You can go to http://codeforces.com/problemset/tags/dp for instance. There are people that could help you also. Just solve and ask if you don't get it. Hope that helps.View on HN