32 lines
516 B
Java
32 lines
516 B
Java
![]() |
package sudoku;
|
||
|
|
||
|
public class Solver implements SudokuSolver {
|
||
|
private int[][] board;
|
||
|
|
||
|
public Solver() {
|
||
|
board = new int[9][9];
|
||
|
}
|
||
|
|
||
|
public void setBoard(int[][] board) {
|
||
|
this.board = board;
|
||
|
}
|
||
|
|
||
|
public int[][] getBoard() {
|
||
|
return board;
|
||
|
}
|
||
|
|
||
|
public boolean solve() {
|
||
|
}
|
||
|
|
||
|
public Boolean isSolved() {
|
||
|
}
|
||
|
|
||
|
private boolean solve(int row, int col) {
|
||
|
}
|
||
|
|
||
|
public boolean legal(int row, int col, int nbr) {
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
}
|
||
|
}
|