Problems > Dry Spells > Editorial

Dry Spells — Solution & Editorial

Back to the Problem

Run-length scan over zero runs, counting those of length at least 3.

Complexity: O(N)