Skip to content

Commit 591b36f

Browse files
committed
Fix indentation to satisfy clang-format.
1 parent 5262c31 commit 591b36f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/thealgorithms/backtracking/WordSearch.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,8 @@ public boolean exist(char[][] board, String word) {
8282
// DFS search
8383
for (int i = 0; i < m; i++) {
8484
for (int j = 0; j < n; j++) {
85-
8685
if (board[i][j] == word.charAt(0) && dfs(board, i, j, word, 0)) {
87-
return true;
86+
return true;
8887
}
8988
}
9089
}

0 commit comments

Comments
 (0)