You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// we can check whether we can split an array into two equal subarrays using prefix sum technique and if at any point during the splitting of an array if prefix[i] equals 2*prefix[n-1] we can divide the array into two equal subarray sums