solve_sudoku | R Documentation |
This function solves any 9 by 9 sudoku board.
solve_sudoku(board)
board |
The 9 by 9 sudoku grid in form of a numeric matrix. |
Invisibly returns a logical vector of length 1.
FALSE
if the sudoku board is insolvable.
sample_boards()
, easy_solve()
b3 <- sample_boards()[[1]] print_board(b3) solve_sudoku(b3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.