Problem 2348 · Medium

Number of Zero-Filled Subarrays

Count all contiguous subarrays made entirely of zeros.

Open the interactive visualisation