sentinel-boundary-flush

Status: IN

The loop iterates to `len(s) + 1` (one past the last index) so the final character group is flushed without duplicating the emit logic after the loop — a pattern reused across run-length solutions in this repo.

Source: entries/2026/06/06/positions-of-large-groups-solution.md

JSON