Two eggs and a 100-floor building
Asked at Jane Street, Optiver, Akuna
There is a building with 100 floors. There is some threshold floor such that an egg dropped from floor or higher breaks, and an egg dropped from any floor below survives (and can be reused). You have exactly two identical eggs.
Find the minimum number of drops that guarantees you can identify in the worst case.
Show a hint
If you drop the first egg every floors and it breaks, the second egg must scan the block below one floor at a time. Balance the two costs.