You are given an integer array nums.
An array is considered fair if the sum of elements at even indices is equal to the sum of elements at odd indices.
When you remove exactly one element at index i, the indices of all elements located after index i shift to the left by
Return the total number of indices i that you can remove such that the remaining array becomes fair.
Constraints:
nums.length
nums[i]
You are given an integer array nums.
An array is considered fair if the sum of elements at even indices is equal to the sum of elements at odd indices.
When you remove exactly one element at index i, the indices of all elements located after index i shift to the left by
Return the total number of indices i that you can remove such that the remaining array becomes fair.
Constraints:
nums.length
nums[i]