Sudoku solver doubt


not getting the correct output .
please check my code

Your code is almost correct.
With just a minor correction, please check the nested loop in the base case at line no. 25
both loops are taking the same iterator ā€˜iā€™.
Modify this line & you are good to go.

If you have any other doubt, please feel free to ask again.

1 Like