how to solve this problem give me approach and also provide code I think this a dp problem but I’m not able to solve it plzz help me and reply fast
Https://techbomb.net/max-sum-codevita-solution-2020/
provide me code in c++ is this question is solve using dp concept
plzz reply and solve my doubt
@aa1 Hello, kindly check my post(Link: Dynamic Programming Question) for the same question. I’ve also provided a working solution to the above problem(not mine) which got accepted. Can you kindly tell me what logic it uses and why it works? Thanks in advance.