← Accenture questions
CodingMedium

Bulb Switcher Problem

Filed under Accenture

There are n bulbs that are initially off. In the first round, you turn on all the bulbs. In the second round, you turn off every second bulb. In the third round, you toggle every third bulb. For the…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Accenture questions

Collected from public candidate posts and coding forums. Updated Nov 2026.