5713脑筋急转弯中等brainteasermedium
Two Eggs, One Hundred Floors
题目
A building has 100 floors. There is a critical floor f such that an egg dropped from floor f or above breaks, and an egg dropped from any floor below f survives (f may be any of 1..100, or eggs never break, treated as f = 101). You have exactly 2 identical eggs; a broken egg cannot be reused, but an egg that survives a drop can be dropped again. What is the minimum number of drops that GUARANTEES determining f in the worst case? (Drops may be chosen adaptively.)
解题计时
0:00
提交作答时记录,用于后续平均用时统计。
你的答案