Skip to content

A terminal-based app used to solve C++ by backtracking

Notifications You must be signed in to change notification settings

ishangupta4/Sudoku-Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Sudoku-Solver

A terminal-based app used to solve sudoku by backtracking.Backtracking is a general algorithm for finding all (or some) solutions to some computational problems, notably constraint satisfaction problems, that incrementally builds candidates to the solutions, and abandons a candidate ("backtracks") as soon as it determines that the candidate cannot possibly be completed to a valid solution.To learn more about backtracking, click here.

How to use?

  • Clone this repository.
  • run sudoku_solver.cpp
Linux

Run the commands:

g++ sudoku-solver.cpp
./a.out
Windows

Run the executable file after compiling.

How it works?

It takes the all the numbers of a sudoku as the input in the form of an array. All you have to do is to enter the allready filled numbers as they are there in the sudoku and zero's (0) in place of blank spaces. A screenshot of how it works is embedded below.

About

A terminal-based app used to solve C++ by backtracking

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages