Interview Riddles

Interview riddles are famous questions asked during interviews by some big companies like Google, Microsoft, Intel etc.

2 Eggs 100 Floors

You are given two eggs, and access to a 100-storey building. Both eggs are identical. The aim is to find out the highest floor from which an egg will not break when dropped from a floor. If an egg is dropped and does not break, it is undamaged and can be dropped again. However, once an egg is broken, it cannot be used anymore.

If an egg breaks when dropped from floor N, then it would also have broken from any floor above that. If an egg survives a fall from floor N, then it will also survive any fall below floor N.

What is the minimum number of egg drops required to find the solution?

Riddle Answer