Jane StreetTraderQuantitative TraderQuestion #79

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 the detailed step-by-step solution to this Jane Street interview question, plus access to free interview prep resources.

We'll also send you a free HFT mock interview video.

Get All 664+ Jane Street Questions with Solutions

Plus 16+ hours of video lectures, resume tailoring, and 1:1 mentorship from quants.

Schedule a Call