Table of contents | |
Introduction | |
Rules of Distribution | |
Goal | |
Solution | |
Conclusion |
In this puzzle, we have 5 pirates - A, B, C, D, and E, who need to decide how to distribute 100 gold coins among them. The distribution process has some rules, and each pirate wants to survive and get the maximum number of coins possible.
Every pirate wants to survive, and given survival, each pirate wants to maximize the number of gold coins he receives. So, the question is, what is the maximum number of coins that pirate A might get
The answer is 98, which is not intuitive. Pirate A uses the following facts to get 98:
1. Consider the situation when A, B, and C die, and only D and E are left. In this case, E knows that he will not get anything because D is senior and will make a distribution of (100, 0). So E would be fine with anything greater than 0.
2. Consider the situation when A and B die, and C, D, and E are left. In this case, D knows that he will not get anything because C will make a distribution of (99, 0, 1), and E will vote in favor of C.
3. Consider the situation when A dies, and B, C, D, and E are left. To survive, B only needs to give 1 coin to D. So the distribution will be (99, 0, 1, 0).
Using the above facts, A knows that he just needs to give 1 coin to C and 1 coin to E to get them in favor. So the distribution will be (98, 0, 1, 0, 1).
In this puzzle, pirate A can get a maximum of 98 gold coins by using a clever distribution strategy that ensures his survival and gets the support of other pirates.
|
Explore Courses for Interview Preparation exam
|