This little project will help you to solve sudoku using backtracking #Instructions Sudoku to be solved is in grid variable.
- Get list of empty case in each row ,column and grid .
- Sort the list
- Process bactracking begining from case with mininum value
Egg :
case(0,1) has 4 empty case in row ,5 empty case in column ,2 empty case in grid(case row and column is not considered)=11
case(0,5) has 4 empty case in row, 6 empty case in column,4 empty case in grid =14
So case 0,5 will be processed first