Puzzle of the day: 129
An egg when thrown from a particular floor of a 10 story building get broken, but will not break if thrown from any floor below that. You have 2 eggs to find out that particular floor. What is the minimum number of attempts to ensure the floor from which the egg breaks.
Answer: 4 attempts Solution: First throw from floor number 4 Breaks: then 3 more attempts needed (total 4 attempts) if it doesn’t break, then throw from floor number 7 Breaks: then 2 more attempts needed (total 4 attempts) If not then throw floor number 9.

0 comments