Intern Interview Questions

249,157 intern interview questions shared by candidates

There are 100 lockers, all closed. On the first pass you alter the state of all lockers (ie closed -> open; open -> closed). On the second you alter the state of every second locker, and so on until you make 100 passes. Which lockers remain open after?
avatar

Software Engineering Intern

Interviewed at TellApart

5
Nov 7, 2013

There are 100 lockers, all closed. On the first pass you alter the state of all lockers (ie closed -> open; open -> closed). On the second you alter the state of every second locker, and so on until you make 100 passes. Which lockers remain open after?

Viewing 2051 - 2060 interview questions

Glassdoor has 249,157 interview questions and reports from Intern interviews. Prepare for your interview. Get hired. Love your job.