Skip to interview prep
Apexed

With 2 eggs and a 100-floor building, what is the minimum number of drops that always finds the highest safe floor? Generalize to e eggs.

Content review

Report an error

Not yet reviewed

Data structures & algorithms278 of 395

HardSearching & selection

Technical

This is ungraded practice. Run your solution and compare it with the model answer. Your drafts are saved in this browser.

Tab indents · Ctrl/⌘ + Enter runs · Esc then Tab leaves the editor

Press Run to see your program’s output.

With 2 eggs and a 100-floor building, what is the minimum number of drops that always finds the highest safe floor? Generalize to e eggs. — Data structures & al