Skip to content

Commit 04be494

Browse files
committed
Fix comment
1 parent 5ce29a8 commit 04be494

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ private boolean doDFS(int x, int y, int nextIdx) {
6767
return true;
6868
}
6969

70-
// Explore all four possible directions (right, left, down, up)
7170
for (int i = 0; i < 4; ++i) {
7271
int xi = x + dx[i];
7372
int yi = y + dy[i];

0 commit comments

Comments
 (0)