Find the minimum number of trials needed to determine the critical floor with k eggs and n floors.
Constraints
Example
>>> min_drops(1, 2) 2 >>> min_drops(2, 6) 3 >>> min_drops(3, 14) 4 >>> min_drops(2, 100) 14
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints