max-consecutive-ones-zero-on-empty

Status: IN

The function returns 0 for empty input and for arrays containing no 1s, without special-casing either scenario.

Source: entries/2026/06/06/max-consecutive-ones-solution.md

Depended on by

JSON