easy5 pts · first answer countsdynamic-programmingrecursionmemoization
Hidden memory cost of recursion
Memoised recursive fib(n) uses an O(n) cache. What other memory does it use?
Discussion 0
Join free to post in the discussion.
Related questions
- Signs that a problem suits DPBackend Developer
- What memoisation meansBackend Developer
- What tabulation meansBackend Developer
- Cost of plain recursive FibonacciBackend Developer
- Fibonacci after adding a cacheBackend Developer
- Recursion with no base caseBackend Developer
- Ways to climb five stairsBackend Developer
- Why merge sort is not DPBackend Developer