문제
Given an integer array
nums
, return the number of subarrays filled with 0
.A subarray is a contiguous non-empty sequence of elements within an array.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= nums.length <= 105
109 <= nums[i] <= 109