You are given k identical eggs and you have access to a building with n floors. Your goal is to determine the minimum number of moves needed to find the critical floor f where eggs start breaking.
Java
Super Egg Drop
You are given k identical eggs and you have access to a building with n floors. Your goal is to determine the minimum number of moves needed to find the critical floor f where eggs start breaking.
Example 1:
Input: {"k":2,"n":6}
Output: 3
Input
arr ={"k":2,"n":6}
Find minimum moves to determine critical floor with 2 eggs and 6 floors