2 ms·Dynamic programming is it. Thought I'd gone crazy for a minute.by jimmaswell 6y agoDynamic programming is it. Thought I'd gone crazy for a minute.