Sponsored
Use these hints if you're stuck. Try solving on your own first.
If in the step x all bulb shines then bulbs 1,2,3,..,x should shines too.
Solve with full IDE support and test cases