문제
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 <= 10
5
10
9
<= nums[i] <= 10
9