what is the error in the code, it shows time limit exceeded
Sudoku___solver
@rishaseth you need to input the whole matrix i didnt find anywhere code for input of that 9X9 matrix. Even intialize with empty zero whenever you declare a array or matrix.
for example :
int mat[9][9] = {0};
By initalizing it atleast it will not show error because it will send zero initalized matrix to your sudokusolver recursive function.
Just always remember never declare without intilaizing that is not good coding practices.
There are some more error in code but try to solve it yourself first you can ping me here again anytime.
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.