Dropping Height For Egg Breakdown!
There is a building of 100 floors.
-If an egg drops from the Nth floor or above it will break.
-If it’s dropped from any floor below, it will not break.
You’re given 2 eggs.
Find N.
How many drops you need to make?
What strategy should you adopt to minimize the number egg drops it takes to find the solution?
'This' should be the strategy!
-If an egg drops from the Nth floor or above it will break.
-If it’s dropped from any floor below, it will not break.
You’re given 2 eggs.
Find N.
How many drops you need to make?
What strategy should you adopt to minimize the number egg drops it takes to find the solution?
'This' should be the strategy!
Comments
Post a Comment