Skip to content

Commit 9820223

Browse files
committed
Fix comment
1 parent 5a69898 commit 9820223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/others/Sudoku.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public static boolean solveSudoku(int[][] board, int n) {
9292
return true;
9393
}
9494

95-
// Try placing numbers 1 to 9 in the empty cell
95+
// Try placing numbers 1 to n in the empty cell (typically n=9)
9696
for (int num = 1; num <= n; num++) {
9797
if (isSafe(board, row, col, num)) {
9898
board[row][col] = num;

0 commit comments

Comments
 (0)