Skip to content

Commit 767f6c5

Browse files
style: fix final checkstyle violation
1 parent 59cece5 commit 767f6c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ private static boolean isValid(int[][] board, int row, int col, int num) {
6565
}
6666
}
6767

68-
int sr = (row / 3) * 3;
69-
int sc = (col / 3) * 3;
68+
int sr = row / 3 * 3;
69+
int sc = col / 3 * 3;
7070

7171
for (int i = sr; i < sr + 3; i++) {
7272
for (int j = sc; j < sc + 3; j++) {

0 commit comments

Comments
 (0)