Engineer Interview Questions

933,739 engineer interview questions shared by candidates

You are outside a room. Inside the room there are two light bulbs. One light bulb is on all the time, the other light bulb only turns on when you open the door. How do you determine which light bulb is on all the time?
avatar

QA Engineer

Interviewed at Palantir Technologies

3.7
Mar 1, 2011

You are outside a room. Inside the room there are two light bulbs. One light bulb is on all the time, the other light bulb only turns on when you open the door. How do you determine which light bulb is on all the time?

You are given an array that represents bills in certain currency (For example 1, 2, 5, 10) and an amount, for example 17. You should output the number of possible combinations of bills that sum to the given amount. For example, {10, 5, 2} is valid combination, {10, 5, 1 ,1} also. I did not ask questions like does the order of bills matter, i.e. is {10, 5, 2} same as {2, 10, 5}.
avatar

Software Engineer

Interviewed at Google

4.4
Mar 22, 2012

You are given an array that represents bills in certain currency (For example 1, 2, 5, 10) and an amount, for example 17. You should output the number of possible combinations of bills that sum to the given amount. For example, {10, 5, 2} is valid combination, {10, 5, 1 ,1} also. I did not ask questions like does the order of bills matter, i.e. is {10, 5, 2} same as {2, 10, 5}.

Viewing 411 - 420 interview questions

Glassdoor has 933,739 interview questions and reports from Engineer interviews. Prepare for your interview. Get hired. Love your job.