TLE in suduko solver

here is your corrected code