Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a940ace

Browse filesBrowse files
committed
recursion dp update
1 parent a774c1f commit a940ace
Copy full SHA for a940ace

File tree

5 files changed

+14
-51
lines changed
Filter options

5 files changed

+14
-51
lines changed

‎.idea/workspace.xml

Copy file name to clipboardExpand all lines: .idea/workspace.xml
+10-46Lines 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

Copy file name to clipboardExpand all lines: src/com/company/Lecture10/Maze.java
+1-2Lines 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

Copy file name to clipboardExpand all lines: src/com/company/Lecture12/EggDrop.java
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.