Skip to content

Commit 4f79d99

Browse files
committed
🔨 Egg Dropping Puzzle
1 parent 94f8b9e commit 4f79d99

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dynamic Programming/EggDroppingPuzzle.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* Time Complexity: O(nk^2)
3+
* Auxiliary Space: O(nk)
4+
*/
5+
6+
17
class EggDroppingPuzzle {
28

39
public static int EggDrops(int noOfEggs, int noOfFloors){

0 commit comments

Comments
 (0)