k-length-apart-consecutive-sufficiency

Status: IN

`kLengthApart` only checks consecutive pairs of 1s; if all consecutive pairs satisfy the minimum distance, all pairs do (transitivity of minimum spacing in a linear scan).

Source: entries/2026/06/06/check-if-all-1s-are-at-least-length-k-places-away-solution.md

JSON