max-consecutive-ones-pure-streaming-exemplar

Status: IN

Max consecutive ones is a pure streaming exemplar demonstrating all three structural properties of the paradigm in minimal form: single-pass O(n) scan with O(1) space (paradigm shape), eager in-loop max update eliminating post-loop fixup (extend-or-reset pattern), and correct empty-input handling via zero-initialization (sentinel boundary handling).

Justifications

Three orphan beliefs collectively demonstrate the streaming paradigm's canonical form

Depends on (SL): max-consecutive-ones-single-pass, max-consecutive-ones-eager-update, max-consecutive-ones-zero-on-empty

JSON