You are given an integer array nums.
An array is considered positive if the sum of every subarray with a length of at least
In one operation, you can choose any index i and replace nums[i] with any integer.
Return the minimum number of operations required to make nums positive.
Constraints:
nums.length
nums[i]
You are given an integer array nums.
An array is considered positive if the sum of every subarray with a length of at least
In one operation, you can choose any index i and replace nums[i] with any integer.
Return the minimum number of operations required to make nums positive.
Constraints:
nums.length
nums[i]