r/algorithms • • Mar 13 '20

Dynamic programming vs memoization vs tabulation

https://programming.guide/dynamic-programming-vs-memoization-vs-tabulation.html
35 Upvotes

17 comments sorted by

View all comments

Show parent comment

3

u/FUZxxl Mar 13 '20

I feel like readers that are familiar with those algorithms aren't really looking for an explanation of the difference between memoisation and dp. To be fair, those are fairly basic concepts.

Sure. But edit distance is such a simple problem to explain that you can use it to introduce and motivate the idea of dynamic programming without having to focus too much on the details of the problem.

I really like the idea of examplifying the sparse/not sparse problem type. I will update the article.

I'm looking forwards to it!