Quora: how to approach dynamic programming. | Hacker News Reader