I understand that we are subtracting the min sum of subarray from the cumulative sum. But what are we getting by subtracting it and how it is another candidate?
I understand that we are subtracting the min sum of subarray from the cumulative sum. But what are we getting by subtracting it and how it is another candidate?