fast-sudoku-solver
Version:
A fast Sudoku solver written in TypeScript.
7 lines (6 loc) • 388 B
TypeScript
/**
* Solves Sudoku puzzles. The first entry of the returned array is *false* if the Sudoku puzzle is not solvable.
* @param sudoku Sudoku puzzle to solve
* @returns solved Sudoku puzzle. The first entry of the returned array is *false* if the Sudoku puzzle is not solvable.
*/
export declare function solveSudokuPuzzle(sudoku: number[][]): [solvable: boolean, solution: number[][]];