auto commit
This commit is contained in:
parent
e3645485cd
commit
0733b7e2e9
@ -2316,7 +2316,7 @@ public void solveSudoku(char[][] board) {
|
|||||||
colsUsed[j][num] = true;
|
colsUsed[j][num] = true;
|
||||||
cubesUsed[cubeNum(i, j)][num] = true;
|
cubesUsed[cubeNum(i, j)][num] = true;
|
||||||
}
|
}
|
||||||
backtracking(i, 0);
|
backtracking(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean backtracking(int row, int col) {
|
private boolean backtracking(int row, int col) {
|
||||||
|
BIN
docs/notes/pics/474e5579-38b1-47d2-8f76-a13ae086b039.jpg
Normal file
BIN
docs/notes/pics/474e5579-38b1-47d2-8f76-a13ae086b039.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
BIN
docs/notes/pics/PPjwP.png
Normal file
BIN
docs/notes/pics/PPjwP.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 363 KiB |
BIN
docs/notes/pics/f76067a5-7d5f-4135-9549-8199c77d8f1c.jpg
Normal file
BIN
docs/notes/pics/f76067a5-7d5f-4135-9549-8199c77d8f1c.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
docs/pics/474e5579-38b1-47d2-8f76-a13ae086b039.jpg
Normal file
BIN
docs/pics/474e5579-38b1-47d2-8f76-a13ae086b039.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
BIN
docs/pics/PPjwP.png
Normal file
BIN
docs/pics/PPjwP.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 363 KiB |
BIN
docs/pics/f76067a5-7d5f-4135-9549-8199c77d8f1c.jpg
Normal file
BIN
docs/pics/f76067a5-7d5f-4135-9549-8199c77d8f1c.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Loading…
x
Reference in New Issue
Block a user