Engineer Software Interview Questions

419,718 engineer software interview questions shared by candidates

The next one was a puzzle. There are 2 White hats and 2 Black hats. 4 persons in a room and at least one of them has to say the color of the hat on their head otherwise , if at least one person tells it wrong all 4 of them will be killed. The 4 persons are standing in the following direction 4(W)----> 3(B) -----> 2(W) -----> | <-----1 (B) 1 is already in the jail and he can't see any one . Any one can see only the persons ahead of them like 4 can see 3 and 2. Tell me who saves them and y. Interviewer was expecting to hear your explanation and he also liked to discuss how iam solving the puzzle.
avatar

Software Engineer

Interviewed at Lutron Electronics

3.8
Feb 16, 2011

The next one was a puzzle. There are 2 White hats and 2 Black hats. 4 persons in a room and at least one of them has to say the color of the hat on their head otherwise , if at least one person tells it wrong all 4 of them will be killed. The 4 persons are standing in the following direction 4(W)----> 3(B) -----> 2(W) -----> | <-----1 (B) 1 is already in the jail and he can't see any one . Any one can see only the persons ahead of them like 4 can see 3 and 2. Tell me who saves them and y. Interviewer was expecting to hear your explanation and he also liked to discuss how iam solving the puzzle.

Viewing 2781 - 2790 interview questions

See Interview Questions for Similar Jobs

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