r/programming • • Apr 16 '19

A graphical introduction to dynamic programming

https://medium.com/@avik.das/a-graphical-introduction-to-dynamic-programming-2e981fa7ca2?source=friends_link&sk=37cd14642cf1a83eb0bb33d231442837
55 Upvotes

14 comments sorted by

View all comments

8

u/bmcmbm Apr 16 '19

Gonna give it a read. I always understand simple problems solved with dynamic programming but fail to apply it to more complicated problems. It’s been 6 years since I was introduced to dynamic programming and it is still one of my weak spots when it comes to interview questions and coding competitions.

3

u/DidiBear Apr 16 '19

Dynamic programming is just using memoization on recursive function then optimize memory usage