Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
baobabKoodaa
· 7y ago · 0 comments
This is true. However, both approaches are "dp" if we are talking about the equivalent solution implemented in these different ways.
Comments
[–]
reader5000
7y ago
Yeah I thought the recursion+memo wasn't actually "dp" until I looked it up. Recursion without the memo is not DP however since you hit exp running time/memory and the whole point of DP is to avoid this.