A console-based Sudoku solver implemented in Java using the backtracking algorithm. The program accepts user input for custom puzzles and prints the solved Sudoku board.
- Input Sudoku puzzles row by row (use
0for empty cells). - Solves using efficient backtracking recursion.
- Modular code design for easy extension to GUI or automated puzzle generator.
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 ...
- Compile the program:
javac SudokuSolver.java - Run the program:
java SudokuSolver - Enter the puzzle row by row.
- Java
- DSA - Backtracking
- VS Code