Sig
Interview Question
Assistant Trader Interview
Sig
Every morning, Mike the security guard at CP High School opens all 1000 doors in the building, numbered 1 to 1000. The next guard closes all even-numbered doors. Each subsequent guard toggles (opens if closed, closes if open) every nth door, where n is the guard's number, until the 1000th guard toggles only door 1000. How many doors are left open in the end?
Unlock the Full Solution
Enter your email to get instant access to the complete solution, explanation, and similar practice problems.

