Jane Street
Interview Question
Quantitative Trader Interview
Jane Street
You have 100 light bulbs labeled from 1 to 100, all initially off. You perform 100 rounds of toggling: on the nth round, you toggle every nth bulb. Toggling means turning a bulb on if it's off and off if it's on. After all 100 rounds, which bulbs are on?
Unlock the Full Solution
Enter your email to get instant access to the complete solution, explanation, and similar practice problems.

