How to spot overlapping subproblems before you start coding DP | Hacker News Reader