This repository contains a C++ program designed to solve Sudoku puzzles. The solver uses a backtracking algorithm to fill in the missing numbers of a given Sudoku puzzle, ensuring that each row, column, and 3x3 grid contains all numbers from 1 to 9 without repetition.
- Solves easy to hard Sudoku puzzles.
- Offers an interactive mode for users to input their own puzzles.
- Demonstrates the use of arrays, loops, and functions in C++.
To compile and run this program, ensure you have a C++ compiler installed on your system. GCC or Clang are recommended.
Navigate to the directory containing the solver and compile it using the following command:
g++ -o sudoku_solver sudoku_solver.cpp
To run the solver, execute the compiled binary in the terminal:
./sudoku_solver
Follow the on-screen prompts to either solve a predefined puzzle or enter your own.