about summary refs log tree commit diff stats
path: root/algorithms
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-11-03 22:07:59 +0530
committerAndinus <andinus@nand.sh>2021-11-03 22:07:59 +0530
commitc9e3cb29fedcbe7e247d5abfb61bc4f0024ce5f4 (patch)
tree162130a2c5281117ec9b21bdade84846321ce9e7 /algorithms
parent7aee5a34cf11510c57601803ef267401c90dcf7f (diff)
downloadfornax-c9e3cb29fedcbe7e247d5abfb61bc4f0024ce5f4.tar.gz
Fix log-level usage in ffmpeg, update maze
Diffstat (limited to 'algorithms')
-rw-r--r--algorithms/java/DFS.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/algorithms/java/DFS.java b/algorithms/java/DFS.java
index 6b46ca6..ff4567d 100644
--- a/algorithms/java/DFS.java
+++ b/algorithms/java/DFS.java
@@ -55,13 +55,13 @@ public class DFS {
 
     public static void main(String[] args) {
         char[][] maze = {
-            {'.', '#', '.', '#', '.'},
-            {'.', '.', '.', '.', '.'},
-            {'.', '#', '.', '.', '$'},
-            {'.', '.', '.', '#', '.'},
-            {'.', '.', '.', '.', '#'},
-            {'.', '#', '#', '.', '.'},
-            {'.', '.', '.', '.', '.'},
+            {'.', '#', '.', '#', '.', '.', '#', '.'},
+            {'.', '.', '.', '.', '.', '.', '.', '.'},
+            {'.', '#', '.', '.', '#', '.', '.', '$'},
+            {'.', '.', '.', '#', '.', '#', '.', '.'},
+            {'.', '.', '.', '.', '.', '.', '.', '#'},
+            {'.', '#', '#', '.', '.', '.', '#', '.'},
+            {'.', '.', '.', '.', '.', '.', '.', '.'},
         };
 
         boolean[][] visited = new boolean[maze.length][maze[0].length];