How to solve the Google recruiters’ puzzle about throwing eggs from a building
You work in a 100 floor building and you get 2 identical eggs. You need to figure out the highest floor an egg can be dropped without breaking. Find an algorithm that is minimizing number of throws in the worst-case scenario.
15
8