Software Engineer Interview Questions

467,307 software engineer interview questions shared by candidates

A windowless room has 3 lightbulbs. You are outside the room with 3 switches, each controlling one of the lightbulbs. If you can only enter the room one time, how can you determine which switch controls which lightbulb?
avatar

Software Developer

Interviewed at Bank of America

3.9
Jul 30, 2015

A windowless room has 3 lightbulbs. You are outside the room with 3 switches, each controlling one of the lightbulbs. If you can only enter the room one time, how can you determine which switch controls which lightbulb?

You and the interviewer play a game. There are piles of stones on a table, each with a different number of stones. On your turn, you can take from the table any positive number of stones from any single pile. The person who takes the last stone wins. What's your move?
avatar

Software Engineer

Interviewed at Pocket Gems

4.2
Mar 7, 2012

You and the interviewer play a game. There are piles of stones on a table, each with a different number of stones. On your turn, you can take from the table any positive number of stones from any single pile. The person who takes the last stone wins. What's your move?

Viewing 2281 - 2290 interview questions

Glassdoor has 467,307 interview questions and reports from Software engineer interviews. Prepare for your interview. Get hired. Love your job.