Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
protothomas
· 15y ago · 0 comments
Even if the lightbulbs are breakable I think you would need a maximum of (2√n)-1 drops - i.e. go up in increments of √n then when it breaks work forward from the previous drop.
Comments
[–]
Stormbringer
15y ago
That must be where they get the 20 figure from. My way has a shorter worst case even than that though, 14 vs 19