I am facing index out of bound exception


please check…

for
solveSudoku (board,row,col+1);

you are going ahead and accessing index that doesn’t exist

here is your modified approach for sudukoSolver function

Could you please specify the error?