max-consecutive-ones-eager-update

Status: IN

The maximum is updated inside the `n == 1` branch only, eliminating the need for a post-loop `max()` call and avoiding a redundant comparison on every 0-element.

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

Depended on by

JSON