Engineering Interview Questions

56,412 engineering 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?

few algorithm question : One that remember was sort number the largest number first then smallest and compare it with the previous one MERGE SORT ALGORITHM. Another was printing a message 5 times but with a delay of 3 sec Few other questions related to if..else statements, basic software engineering questions
avatar

Software Engineering

Interviewed at Reflektion

3.9
Feb 10, 2015

few algorithm question : One that remember was sort number the largest number first then smallest and compare it with the previous one MERGE SORT ALGORITHM. Another was printing a message 5 times but with a delay of 3 sec Few other questions related to if..else statements, basic software engineering questions

Viewing 861 - 870 interview questions

Glassdoor has 56,412 interview questions and reports from Engineering interviews. Prepare for your interview. Get hired. Love your job.