You have two identical eggs, and are given the task of figuring out the highest floor of a 100-story building from which an egg can be dropped safely (meaning that it doesn't break). You have no prior information about this matter, so for all you know a fall from the first floor might break the egg, but then again, it might be strong enough to survive a 100-story drop.
You need to conduct experiments by dropping the eggs from various levels in the building to solve the problem. You are allowed to break both eggs as long as you come up with an answer.
Find a strategy to minimize the maximum number of drops you would have to do. What is this number? (For example if your strategy is dropping an egg from first, then second, then third floors, and so on until it breaks, the maximum number of drops is 100.)
you could start with 1,4,7,10,13,16,19,22,25...etc. until u get to 90whatever. if your first egg breaks at one of the drops then u drop the other egg one less. if it breaks then u know its one less from that.
ex. if one egg breaks at 10, drop the other at 9. if that one breaks then the max number is 8.