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

Recursion with memoization can still take exponential time whereas a DP solution is usually going to be quadratic or better.


That's not really true. There's plenty of DP solutions that are >cubic or exponential.




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

Search: