Documentation
¶
Overview ¶
sudoku package implements efficient sudoku solver
Index ¶
Constants ¶
View Source
const ( GridSize = 9 RegionSize = 3 ConstraintTypes = 4 NumOfCells = GridSize * GridSize Constraints = NumOfCells * ConstraintTypes Possibilities = GridSize * GridSize * GridSize )
Variables ¶
View Source
var ( InputTooShortError = errors.New("Input is too short!") InputMalformedError = errors.New("Input is malformed!") )
Functions ¶
func PrintReadableGrid ¶
func PrintReadableGrid(sol string)
Types ¶
Click to show internal directories.
Click to hide internal directories.