pull down to refresh
- If the configuration is BBWW or WWBB, then prisoner 3 answers, B or W, respectively.
- If the configuration is WBWB or BWWB, then prisoner 2 answers W
- If the configuration is WBBW or BWBW, then prisoner 2 answers B
Logic:
- 4 will not answer because he has no info
- If 3 sees two of the same color, he must have the opposite color
- If the process gets to 2, then he knows that he and 1 have opposite colors.
reply
Yes, this description is accurate.