You are given an integer array nums consisting of
You must remove exactly nums, leaving
The first part contains the first
The second part contains the remaining
The difference between the two parts is defined as the sum of the elements in the first part minus the sum of the elements in the second part.
Return the minimum possible difference after removing
Constraints:
nums.length
nums[i]
You are given an integer array nums consisting of
You must remove exactly nums, leaving
The first part contains the first
The second part contains the remaining
The difference between the two parts is defined as the sum of the elements in the first part minus the sum of the elements in the second part.
Return the minimum possible difference after removing
Constraints:
nums.length
nums[i]