Quant Memo
Brainteasers/●●●●●

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 TT such that an egg dropped from floor TT or higher breaks, and an egg dropped from any floor below TT survives (and can be reused). You have exactly two identical eggs.

Find the minimum number of drops that guarantees you can identify TT in the worst case.

Show a hint

If you drop the first egg every kk floors and it breaks, the second egg must scan the block below one floor at a time. Balance the two costs.

Your answer

More Brainteasers questions