the memoized recursive function is still dynamic programming; it's just top-down whereas the obvious loop implementation (that everyone writes before they even learned what recursion is) is the so-called "bottom up" approach which just shows more how "dynamic programming" is such a stupid nothing burger name
View all comments
Show parent comment
0
u/nerdycatgamer 3d ago
the memoized recursive function is still dynamic programming; it's just top-down whereas the obvious loop implementation (that everyone writes before they even learned what recursion is) is the so-called "bottom up" approach which just shows more how "dynamic programming" is such a stupid nothing burger name