Skip to content

Commit 5ce29a8

Browse files
committed
Fix comment
1 parent 647e830 commit 5ce29a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ private boolean isValid(int x, int y) {
5353
}
5454

5555
/**
56-
* Performs Depth First Search (DFS) from the cell (x, y) to search for the next character in the word.
56+
* Performs Depth First Search (DFS) from the cell (x, y)
57+
* to search for the next character in the word.
5758
*
5859
* @param x The current row index.
5960
* @param y The current column index.

0 commit comments

Comments
 (0)