Closed ritika728 closed 3 years ago
Given an array of even size n, we need to find minimum value that can be added to an element so that array become balanced. An array is balanced if the sum of the left half of the array elements is equal to the sum of right half.
@saumyasrivastava08 Please assign me this!
can you assign this to me?
Given an array of even size n, we need to find minimum value that can be added to an element so that array become balanced. An array is balanced if the sum of the left half of the array elements is equal to the sum of right half.