k-length-apart-sentinel-minus-one

Status: IN

`kLengthApart` initializes `last = -1` as a sentinel so the first 1 encountered never triggers a gap violation, avoiding a separate boolean flag.

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

Depended on by

JSON