yesterday, i also ask the same doubt, in reply TA send me stupid solution that it is solve by backtracking, obviously the question is in backtracking track , so by using this , it can be solved
Sudoku solver , how to apply backtracking in this question
so what do want?
pls send the code
or ur approach
or
should i explain the approach
yes please explain the approach
as u know there is no repetition in the row and colmn and in the sub-matrix
backtracking approach to solve a suduko:
if a cell is not assigned any no
the assigned a no. 1 to 9
if it doesn’t conflict with row, colmn, and sub-matrix
then it is fine
else
try for the next no.
hope this will help u
pls rate my work
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.