We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ce29a8 commit 04be494Copy full SHA for 04be494
src/main/java/com/thealgorithms/backtracking/WordSearch.java
@@ -67,7 +67,6 @@ private boolean doDFS(int x, int y, int nextIdx) {
67
return true;
68
}
69
70
- // Explore all four possible directions (right, left, down, up)
71
for (int i = 0; i < 4; ++i) {
72
int xi = x + dx[i];
73
int yi = y + dy[i];
0 commit comments