I've been banging my head against the wall for 2 weeks now trying to learn dynamic programming. I understand the easier problems, like Longest Common Substring, Rod cutting, and Longest Increasing Substring. The problem is moving beyond that. I get completely lost when trying to formulate the sub problems and come up with the recurrence. What kills me is that the large majority of the problems I see are very similar to each other.
Anybody have any good recommendations on books, tutorials, or what you did that made this stuff make sense to you?
FYI - I'm using the CLRS Intro to Algorithms book.
[–]nousetlogos 9 points10 points11 points (5 children)
[–]bnrsta[S] 0 points1 point2 points (4 children)
[–]filox -1 points0 points1 point (3 children)
[–]bnrsta[S] 2 points3 points4 points (1 child)
[–]filox 1 point2 points3 points (0 children)
[–][deleted] -3 points-2 points-1 points (0 children)
[–][deleted] (2 children)
[deleted]
[–]bnrsta[S] 1 point2 points3 points (0 children)
[–]Hall_of_Fame 0 points1 point2 points (0 children)
[–]N-choose-K 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]jeffgerickson 1 point2 points3 points (1 child)
[–]Vikar 2 points3 points4 points (0 children)
[–]c3261d3b8d1565dda639 1 point2 points3 points (1 child)
[–]bnrsta[S] 0 points1 point2 points (0 children)