Tap here to switch tabs
Problem
Submissions

Problem: Number of Zero-Filled Subarrays

Try to solve the Number of Zero-Filled Subarrays problem.

Statement

Given an integer array nums, return the total number of subarrays filled entirely with 00.

Note: A subarray is a contiguous non empty sequence of elements within an array.

Constraints:

  • 1≤1 \leq nums.length ≤105\leq 10^5

  • −109≤-10^9 \leq nums[i] ≤109\leq 10^9

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Number of Zero-Filled Subarrays

Try to solve the Number of Zero-Filled Subarrays problem.

Statement

Given an integer array nums, return the total number of subarrays filled entirely with 00.

Note: A subarray is a contiguous non empty sequence of elements within an array.

Constraints:

  • 1≤1 \leq nums.length ≤105\leq 10^5

  • −109≤-10^9 \leq nums[i] ≤109\leq 10^9