Skip to content

Commit a940ace

Browse files
committed
recursion dp update
1 parent a774c1f commit a940ace

File tree

5 files changed

+14
-51
lines changed

5 files changed

+14
-51
lines changed

.idea/workspace.xml

Lines changed: 10 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.

src/com/company/Lecture10/Maze.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.company.Lecture10;
22

3-
public class
4-
Maze {
3+
public class Maze {
54
public static void main(String[] args) {
65
// System.out.println(mazeCount(3,4));
76
// mazePath("", 3,4);

src/com/company/Lecture12/EggDrop.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
public class EggDrop {
44
public static void main(String[] args) {
5-
int floors = 10;
5+
int floors = 100;
66
int eggs = 2;
77
Integer[][] mem = new Integer[floors+1][eggs+1];
8-
System.out.println(eggDrop(floors,eggs));
9-
System.out.println(eggDropDP(floors,eggs,mem));
8+
// System.out.println(eggDrop(floors,eggs));
9+
// System.out.println(eggDropDP(floors,eggs,mem));
1010
System.out.println(eggDropDPitr(floors,eggs,mem));
1111

1212
}

0 commit comments

Comments
 (0)