2 Eggs 100 Floors Puzzle Solution

K 10 output.
2 eggs 100 floors puzzle solution. June 29 2013 10 55 pm 5 comments crazyadmin. Two cases arise 1 if egg breaks we have one egg left so we need three more trials. You need to figure out the. The solution for the worst case in this scenario occurs when the threshold floor is floor number 14 because we will drop the first egg on floor 14 and it will break.
Total 10 tries then 9 tries from 91 to 99 19 tries is the optimal solution. You are given 2 eggs. Eggs can be very hard or very fragile means it may break if dropped from the first floor or may not even break if dropped from 100 th floor both eggs are identical. 2 eggs 100 floors worst case solution.
Then we have to test floors 1 13 with the 2nd egg to see where the egg breaks again and the. The solution for the worst case in this scenario occurs when the threshold floor is floor number 14 because we will drop the first egg on floor 14 and it will break. 3 85 out of 5 november 20 2014 by puzzler 19 comments. 2 eggs 100 floors puzzle solution.
4 we first try from 4 th floor. 2 eggs 100 floors worst case solution. The following is a description of the instance of this famous puzzle involving 2 eggs and a building with 100 floors. April 22 2015 at 12 50 pm.
Suppose that we wish to know which stories in a 100 story building are safe to drop eggs from and which will cause the eggs to break on landing. 2 eggs 100 floors puzzle. This problem is a specific case of n eggs and k floors. You have access to a 100 storey building.