Ad
  • Custom User Avatar

    I found same solution after a long time. I think the label "DYNAMIC PROGRAMMING" is kind of confusing.
    All the solutions in python are the same way.
    maybe the label "math" or something else is better?

  • Custom User Avatar

    I think the label "DYNAMIC PROGRAMMING" is improper. I can't make it with DP.

    In fact I think it is more like a math problem.

    I don't know whether the reason is that I use python so I can't make it with DP.