public static SudokuGrid InitGrid(string[,] partialValues) { List <SudokuCell> cells = InitCells(); MapPeers(cells); List <List <SudokuCell> > units = InitUnits(cells); InitValues(partialValues, cells); SudokuGrid grid = new SudokuGrid { Cells = cells, Units = units }; return(grid); }
public string[,] Solve(string[,] partialValues) { SudokuGrid sudokuGrid = SudokuGridInitializer.InitGrid(partialValues); return(null); }