Couldn’t understand the logic behind the second loop , and the operations under the second loop too. Also please tell me the meaning of currentSum = cumSum[j] - cum[i-1];
Couldn’t understand the logic behind the second loop , and the operations under the second loop too. Also please tell me the meaning of currentSum = cumSum[j] - cum[i-1];