+ 3
Challenge - Try to develop your sudoku solver
Taking a list 9x9 which represents a sudoku, with the empty cells represente by 0s, try to apply algorithms to resolve the puzzle returning a list 9x9 with the solution. Optional: Create a function to check if the converged solution is correct checking that there is not repeated numbers in any row,colum or 3x3 square. Here my solution: https://code.sololearn.com/cCP7rxsyCWqV/#py
3 Respuestas
+ 1
https://code.sololearn.com/cNFgfXZ8z43N/?ref=app
+ 1
That's a good iterating solution, maybe a good one no to spend a lot of time coding hard level sudoku logic.
Thanks!
0
it is quite efficient. Test the number of loops against other methods...