You are in a 100-story building and have two identical eggs.
You are in a 100-story building and have two identical eggs. You need to find the highest floor from which an egg can be dropped without breaking. What is the maximum number of drops...
The answer
14
You are in a 100-story building and have two identical eggs. You need to find the highest floor from which an egg can be dropped without breaking. What is the maximum number of drops needed for a strategy that minimizes the worst-case number of drops?
Reveal Answer
Answer
14
The answer is 14, because if we drop the first egg from the 14th floor, and it breaks, we can then use the second egg to test the remaining 13 floors in the worst case. As the strategy involves dropping the first egg from a floor that allows us to minimize the maximum number of drops with the second egg, we can quote the clue 'You need to find the highest floor' to understand that the goal is to optimize for the worst-case scenario. This strategy ensures we find the highest floor with the minimum number of drops.
Why this answer works
The answer is 14, because if we drop the first egg from the 14th floor, and it breaks, we can then use the second egg to test the remaining 13 floors in the worst case. As the strategy involves dropping the first egg from a floor that allows us to minimize the maximum number of drops with the second egg, we can quote the clue ‘You need to find the highest floor’ to understand that the goal is to optimize for the worst-case scenario. This strategy ensures we find the highest floor with the minimum number of drops.
Try these next
- I have white socks and black socks in a ratio of 5 to 6 in a drawer. What is the maximum n
- What type of chemical calling cards are released by an animal to affect other members of i
- These are the bumpy parts of your digits
- A man has 53 socks in his drawer: 21 identical blue, 15 identical black and 17 identical r
About this puzzle
This article was written and edited for LAODH. The answer and explanation were checked against reliable reference sources before publication, and the page is reviewed when a correction is reported.