what will be cumsum[i-1] when i=0??
Maximum subarray sum cumulative sum approach
But in video he started with 0
I m talking about line 35
no ideally it should be 1
1 Like
what will be cumsum[i-1] when i=0??
But in video he started with 0
I m talking about line 35
no ideally it should be 1