Advanced - Egg Dropper how can code this? please can you help me with this project (Algorithm Practice: Recursion)

Advanced - Egg Dropper how can code this? please can you help me with this project (Algorithm Practice: Recursion)