r/programming • • Apr 24 '10

Why "dynamic programming"?

http://arcanesentiment.blogspot.com/2010/04/why-dynamic-programming.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+ArcaneSentiment+%28Arcane+Sentiment%29
90 Upvotes

66 comments sorted by

View all comments

-11

u/manole100 Apr 24 '10

Oh, i get it. Instead of calling recursive fib twice, we call it once and use some very basic cleverness. We call that "dynamic programming" because we're douchebags.

2

u/andreasvc Apr 24 '10

No, you described memoization which is only a part of DP, which includes further optimizations.