not able to understand the loop part
Code not understood
hello @dipeshpandey2001
use first two loops (i and j ) we are fixing left and right ending of the subarray.
and then using third loop(k) we are iterating from i…j and calculating its sum
not able to understand the loop part
hello @dipeshpandey2001
use first two loops (i and j ) we are fixing left and right ending of the subarray.
and then using third loop(k) we are iterating from i…j and calculating its sum