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

Take a problem that you could brute force. Does it have repeating sub problems? If so, it's a candidate for DP.

DP and Greedy problems are the hardest to nail because they are the broadest and widest category of problems. Almost everything can be a DP problem.



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

Search: