Problem 3964 · Medium

Minimum Lights to Illuminate a Road

Find the leftmost unlit position and place an extra bulb one step to its right, which lights it and the most ground beyond.

Open the interactive visualisation