I always find myself looking at the solution for DP problems after spending an hour or so. This has happened many times, and yet I haven't developed any routine for detecting and solving the DP problems. Even when I do detect that the problem is DP, I struggle with the solution. What do I do to develop a thought process to solve DP ?




