Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Dynamic programming is an optimization technique using divide and conquer, whereas memoization is an added optimization in the dynamic programming paradigm. An optimization we do while calculating fibonacci sequence is memoization, to prevent from going down the tree to the leaf every time.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: