hard20 pts · first answer countsdynamic-programmingcomplexitycoin-change
Is O(n × amount) polynomial?
The coin change DP runs in O(n × A), where A is the target amount. Why is it called pseudo-polynomial?
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
- Hidden memory cost of recursionBackend Developer