Soduko solver problem

not getting any output for problem

@guptashubham210a,

you have made some small mistakes

  1. your startrow and startcol should be

    int startrow = (i/no)*no;
    int startcol = (j/no)*no;
    
  2. you are calling function incorrectly
    you are rec’ calling sudoku(arr,i,j+1,n); but it should be sudoku(arr,n,i,j+1);

corrected code :-

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.