Solving dynamic programming interview problems | Hacker News