Again an addition to the doubt, i could not get the end result evaluation

in the example of buckets 0 0 0 1 0 1 4 3
why are there 5 subarrays with sum zero
i need to know why the 2 comes in mc2 as well

Hi, please tell me the time where this thing is being discussed, so your doubt is more clear to me.

10.34
at the video i do not understand

Okay, the video is a bit unclear, but he meant that for the cumulative sum array

0 0 0 1 0 1 4 3

there are 5 subarray with sum = 0 (in a cumulative array sum = 0, when 2 sums are same)

So the subarrays with 0 sum are

0 0
0 0 0
0 0 0 1 0
0 0
1 0 1