▲ | scotty79 4 days ago | |||||||
So all in all pretty basic stuff. Why would anyone worth their salt should have problem with that? | ||||||||
▲ | dgacmu 4 days ago | parent [-] | |||||||
The hard part is realizing that the problem you're solving efficiently maps to a dynamic programming algorithm. You have to spot the opportunity for sub-problem reuse, or else the solution looks something like cubic or exponential (etc.) | ||||||||
|