bt_solver {RSDK} | R Documentation |
bt_solver()
Description
This function is a recurcive function that solves a sudoku grid using the backtracking algorithme
Usage
bt_solver(x)
Arguments
x |
A sudoku grid |
Value
A list of two elements in the first one there is the grid x solved as a matrix of 9 by 9, and the second one contains the number of backtracking does R do to solving it.
Examples
bt_solver(x=grid_gen(49))
[Package RSDK version 1.0.1 Index]