extend-or-reset-canonical-consecutive-pattern

Status: IN

The single-pass "extend current run or reset counter" idiom is the canonical approach for all consecutive-element problems, with in-loop max updates eliminating post-loop fixup.

Justifications

Run-tracking with eager max avoids off-by-one errors that end-of-array special cases introduce

Depends on (SL): extend-or-reset-pattern, maxpower-eager-max-update, no-post-loop-fixup-needed

Depended on by

JSON