A10 Networks Interview Question
7 Interview Reviews |
Back to all A10 Networks Interview Questions & Reviews
Interview questions and reviews posted anonymously by interview candidates
Interview Question for Support Engineer at A10 Networks:
If you have three people standing, all facing the same direction, each person can see the color of the hat of only the person directly in front of them (which can be either black or white). There are two hats of each color (four total). The hats are placed on the persons' heads one at a time, starting with the one in the very front. When someone knows for certain what color hat they have, they need to declare that they have discovered the color of their hat. In this scenario, no matter which hats are distributed, at least one person can be certain of their hat color. What are these scenarios, and what are the probability distributions for each?
| Tags: | brain teaser, logic See more , See less 8 |
Helpful Question?
Yes |
No
Inappropriate?
Answers & Comments (3)
I think the original question was incorrectly worded. As it is stated, I don't think anyone can know the color of their hat, since nobody has more than one piece of information to start with.
Helpful Answer?
Yes |
No
Inappropriate?
Helpful Answer?
Yes |
No
Inappropriate?
To comment on this
question,
Sign In with Facebook or
Sign Up
0 of 0 people found this helpful
by samar pratap singh:
the reason is,since the last person is not answering the colour of his hat,it means he can see two different colours of hats in front of him.so the person standing between them has to conclude that the colour of his hat would be just opposite of the person's hat,standing in front of him.