Both eggs are identical.
First floor drop egg.
I hope you enjoy the video and learn something new like i did when i made it.
We can notice that if we choose 4th floor as first floor 7 th as next floor and 9 as next of next floor we never exceed.
2 if egg does not break we try next from 7 th floor.
This is a simple way to make an egg never crack when it drops.
Then i would go to floor 25 or 75 depending on the first outcome and drop another egg.
Feel free to share wi.
In a toy example there is a tower of n n n floors and an egg dropper with m m m ideal 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 100th floor.
K 10 output.
4 we first try from 4 th floor.
If it breaks i would know the solution is somewhere among floors 0 49 if not then i would test for floors 51 to 100.
Now the question is how many drops you need to make.
Two cases arise 1 if egg breaks we have one egg left so we need three more trials.
5 designs guaranteed to win 1st place or your money back.
Egg dropping refers to a class of problems in which it is important to find the correct response without exceeding a low number of certain failure states.
Good for school projects.
I could break all 8 eggs floor 0 or none floor 100.
The physical properties of the ideal egg is such that it will shatter if it is dropped from floor n n n or above and will have no.