Engineer Software Interview Questions

419,836 engineer software interview questions shared by candidates

There are 100 light switches, all of them are off. First, you walk by them, turning all of them on. Next, you walk by them turning every other one off. Then, you walk by them changing every third one. On your 4th pass, you change every 4th one. You repeat this for 100 passes. At the end, how many lights will be on?
avatar

Software Engineer

Interviewed at MSCI

4.1
Oct 3, 2015

There are 100 light switches, all of them are off. First, you walk by them, turning all of them on. Next, you walk by them turning every other one off. Then, you walk by them changing every third one. On your 4th pass, you change every 4th one. You repeat this for 100 passes. At the end, how many lights will be on?

Viewing 3381 - 3390 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 419,836 interview questions and reports from Engineer software interviews. Prepare for your interview. Get hired. Love your job.