syash6091's blog

By syash6091, history, 6 weeks ago, In English

Hi, I saw this problem at stackoverflow and the problem approach is also present.

Link : https://stackoverflow.com/questions/72323400/maximum-sum-elements-in-range/72324281#72324281

But I am unable to understand this solution as of now. Can someone help to explain the approach or provide some nice approach with easy explanation.

 
 
 
 
  • Vote: I like it
  • -5
  • Vote: I do not like it

»
6 weeks ago, # |
  Vote: I like it -11 Vote: I do not like it

Solution is bad. It is simple divide and conquer problem.