Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Sudoku Solver (Java)

Solves Sudoku using recursive backtracking.
Run it, then enter a puzzle file path like puzzles/example1.txt.

How to Run

  1. Compile the code:
  2. Run the program:
  3. When asked, enter a puzzle file path, for example:

Example Puzzle Format

A text file with 9 rows of numbers.
Use 0 for empty spaces. Example:

0 0 3 0 2 0 6 0 0 9 0 0 3 0 5 0 0 1 0 0 1 8 0 6 4 0 0 0 0 8 1 0 2 9 0 0 7 0 0 0 0 0 0 0 8 0 0 6 7 0 8 2 0 0 0 0 2 6 0 9 5 0 0 8 0 0 2 0 3 0 0 9 0 0 5 0 1 0 3 0 0

About

A Sudoku solver using recursive backtracking in java

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages