here is a link for people new to DP
http://www.quora.com/Are-there-any-good-resources-or-tutorials-for-dynamic-programming-besides-the-TopCoder-tutorial
This tutorial is already mentioned in the below given link and please try to write the code in a proper format before the users get confusion and irritation by seeing the way u have written.
3 Likes
Topcoder is the best website programming for dp tutorial. Geeksforgeeks is also good for dp tutorial.
For a good tutorial watch the videos of Tushar Roy He explained all the classic problem of DP in a very St. Forward way! And after that they also provide full code on github!..
Click on link and enjoy this!!
Happy DP!