Skip to content
StackDecode
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.

An animated walkthrough for this algorithm isn’t built yet. The summary above explains the idea; see the related animated algorithms below to practise the same technique.