You are viewing a single comment's thread. Return to all comments →
The first element can be the split. Then leftsum will be 0(since there is no element on the left of the first one) and A[1]+A[2]+A[3] = 0
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and Array
You are viewing a single comment's thread. Return to all comments →
The first element can be the split. Then leftsum will be 0(since there is no element on the left of the first one) and A[1]+A[2]+A[3] = 0