why are we staring the prefix array with zero rather than the first element in the array
In the problems of hacker block?
PS.: this doubt is for divisible subarrays problem
a prefix array is usually started with index 1 to keep the case of not picking up any elements in the array itself.