โ† Microsoft questions

100 bulbs toggle puzzle

Filed under Microsoft

The question

Given 100 initially switched off bulbs, where switches of multiples of i are flipped at each i-th iteration for 100 iterations, determine how many bulbs remain switched on.

No write-up yet. Related questions below have one.

Related Microsoft questions

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