-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sudoku Solver in Python #326
Comments
Message that will be displayed on users first issue |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The application utilizes two main functions, is_valid_move(grid, row, col, number) and solve_sudoku(grid, row, col), which together can solve a given Sudoku puzzle.
is_valid_move(grid, row, col, number) This function checks if placing a given number at a specific row and col in the grid is a valid move according to the rules of Sudoku. It returns True if the move is valid, and False otherwise.
solve_sudoku(grid, row, col) This function attempts to solve the Sudoku puzzle represented by the grid using a recursive backtracking algorithm. It returns True if a solution is found, and False otherwise.
The text was updated successfully, but these errors were encountered: