N Eggs K Floors

As a 2 d array of size n k is used for storing elements.
N eggs k floors. Try dropping an egg from each floor from 1 to k and calculate the minimum number of dropping needed in worst case. Base cases eggs 1 floors x. The physical properties of the ideal egg is such that it will shatter if it is dropped from floor n n n or above and will have no. K 10 output.
You know that there exists a floor f with 0 f n such that any egg dropped at a floor higher than f will break and any egg dropped at or below floor f will not break. Two cases arise 1 if egg breaks we have one egg left so we need three more trials. For the producer less labor is required to pick up floor eggs and more clean hatching eggs are produced for the hatchery nested eggs have less surface contamination producing a higher hatch and healthier chicks. N eggs k floors.
Play safe and drop from floor 1 if egg does not break then drop from floor 2 and so on. 4 we first try from 4 th floor. So in worst case x times an egg needs to be dropped to find the solution. Each egg is identical in function and if an egg breaks you cannot drop it again.
Egg dropping refers to a class of problems in which it is important to find the correct response without exceeding a low number of certain failure states. You are given k eggs and you have access to a building with n floors from 1 to n. In a toy example there is a tower of n n n floors and an egg dropper with m m m ideal eggs. Each move you may take an egg if you have an unbroken.
Where n is the number of eggs and k is the number of floors as we use a nested for loop k 2 times for each egg.