Wednesday, July 10, 2013

project euler problem 244

Sliders

A simple problem. My old code used priority_queue. It takes 0.4 second to get the answer. I read the discussion and found this problem can also be solved by dynamic programming approach.

No comments:

Post a Comment