We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e8794d commit c2cf068Copy full SHA for c2cf068
src/main/java/com/fishercoder/solutions/_1219.java
@@ -63,7 +63,7 @@ public int getMaximumGold(int[][] grid) {
63
}
64
65
int[] directions = new int[]{0, 1, 0, -1, 0};
66
-
+
67
private int backtracking(int[][] grid, int[] start, int gold, boolean[][] visited) {
68
int max = gold;
69
for (int i = 0; i < directions.length - 1; i++) {
0 commit comments