logoalt Hacker News

joz1-kyesterday at 6:58 PM1 replyview on HN

> Read wikipedia and it seems to mean....use a recursive function?

Yes, that's one (common) approach to dynamic programming. The recursive function call are memoized so that previous calculations are remembered for future function calls. Overlapping subproblems become trivial if you can reuse previously computed values. The recursion with memoization is top-down dynamic programming.


Replies

scotty79yesterday at 10:36 PM

So all in all pretty basic stuff. Why would anyone worth their salt should have problem with that?

show 1 reply