sentinel-prev-initialization

Status: IN

In `checkZeroOnes`, initializing `prev = ""` ensures the first character always starts a fresh run without requiring a conditional before the loop

Source: entries/2026/06/06/longer-contiguous-segments-of-ones-than-zeros-solution.md

JSON