cpp maximum subarraysum 2 boundary condition not tested

line 35 of code
currentsum = cumsum[j] - cum[i-1]
what if i=0?
code will give incorrect result

@Tribhav_Chaudhary hey tribhav code will not give any wrong ans because bhaiya initially captured zero index of cumSum array and loop start from 1 to n so try dry run on it and you will understand