Hacker News new | ask | show | jobs
by explodes 797 days ago
That was the first thing that came to my mind!

Though I cannot find the original, well-written article I read some years ago, this link covers the problem for those interested: https://www.geeksforgeeks.org/egg-dropping-puzzle-dp-11/