extend-or-reset-pattern

Status: IN

Multiple solutions (`findLengthOfLCIS`, `checkZeroOnes`) use the same single-pass "extend or reset" pattern: maintain a running counter for the current window, extend when the condition holds, reset when it doesn't

Source: entries/2026/06/06/longest-continuous-increasing-subsequence-solution.md

Depended on by

JSON