Dynamic programmingExplained
Egg Dropping
Fewest drops that guarantee finding the critical floor.
Time
O(k · n²)
Extra space
O(k · n)
Use it for
Worst-case minimisation.
Fewest drops that guarantee finding the critical floor.
Time
O(k · n²)
Extra space
O(k · n)
Use it for
Worst-case minimisation.