SIG (Susquehanna)–styleTraderAssistant TraderQuestion #18

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?

Build Your Approach

State the assumptions, try a simple case, then work toward a general solution. Check the result and explain how it changes if an assumption changes.

Try the free diagnostic with worked solutions →

Get Free Interview Prep Resources

Practice the Reasoning Behind the Answer

Bring your target roles and interview timeline to a free quant consult. Discuss your preparation priorities and how Quant Blueprint’s lessons, practice and mock interviews can help.

Book a Free Quant Consult

Your goals · your preparation · your next steps