Skip to content

The following program is an implementation of a Sudoku Solver in C. Sudoku is a 9*9 grid in which each row,each column and each 3*3 grid contains all numbers from 1 to 9 only once. The program uses backtracking approach to solve the sudoku. There is a recursive function to solve the sudoku.

Notifications You must be signed in to change notification settings

singhdharmveer311/Sudoku-Solver-in-C-language

Folders and files

NameName
Last commit message
Last commit date
Oct 3, 2019
Oct 3, 2020

Repository files navigation

Sudoku-Solver

The following program is an implementation of a Sudoku Solver in C. Sudoku is a 99 grid in which each row,each column and each 33 grid contains all numbers from 1 to 9 only once. The program uses backtracking approach to solve the sudoku. There is a recursive function to solve the sudoku.

Intructions

How to use:

Use any online compiler------ OR Use any software like CodeBlocks.

sudoku.c for a Non-GUI version

args: a to run the solver using optimized algorithm, b for regular backtracking algorithm.

To modify board:

You can change the board set up by modifying 2D array in my code.

About

The following program is an implementation of a Sudoku Solver in C. Sudoku is a 9*9 grid in which each row,each column and each 3*3 grid contains all numbers from 1 to 9 only once. The program uses backtracking approach to solve the sudoku. There is a recursive function to solve the sudoku.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages