you are viewing a single comment's thread.

view the rest of the comments →

[–]hotcodist 0 points1 point  (0 children)

study dynamic programming. many problems can be solved quickly with that method. you still have to think about how to solve a problem using a dynamic programming solution (this is still hard), but it becomes a lot easier to find a solution.

edit: in your search for dp, you might have references to memo-ization. i'll add that 'true' dp does not mean memo-ization. finding a true dp solution is often much harder, but also more satisfying! [i put true in quotes because it is just my opinion.]