4 ms·
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
by explodes 2y 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/ https://www.geeksforgeeks.org/egg-dropping-puzzle-dp-11/