1. Home >
  2. Apps >
  3. Groups >

100 floors and 2 eggs.

Question asked by circularsquare in #Coffee Room on Feb 13, 2012
circularsquare
circularsquare 路 Feb 13, 2012
Rank C2 - EXPERT
Again a famous question , similar to ones discussed by Google people and MS people when they are not working.

You stand before a 100-story building with two eggs. Using only these two eggs, you must figure out the highest floor from which you can drop an egg such that the egg won't break when it hits the ground (we'll call this the "highest safe floor"). Every floor is equally likely to be the highest safe floor, including the top floor, and it's also just as likely that the egg will break from every floor. You can assume that if you drop an egg and it doesn't break, its shell is just as strong as it was before you dropped it.

If you want to minimize the expected number of drops you have to perform, what strategy should you use for picking which floors to drop the eggs from?

Apparently , the algorithm of this problem is used in many programming problems. Posted in: #Coffee Room
circularsquare
circularsquare 路 Feb 14, 2012
Rank C2 - EXPERT
But it wasn't solved satisfactorily in that thread.
Dancer_Engineer
Dancer_Engineer 路 Feb 14, 2012
Rank A3 - PRO
circularsquare
But it wasn't solved satisfactorily in that thread.
Didn't check that. 馃槼
Members can refer to it. 馃槢
CE Designer
CE Designer 路 Apr 12, 2012
Rank B2 - LEADER
circularsquare whats the solution
jporter892
jporter892 路 Oct 26, 2012
Rank E2 - BEGINNER

You must log-in or sign-up to reply to this post.

Click to Log-In or Sign-Up