Skip to content

rahulshekhawat/sudoku-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Sudoku Solver (Python)

This repository contains a simple python script that uses constraint propagation and backtracking to solve any 9x9 sudoku.

Naming:

  • Rows are numbered from A to I.
  • Columns are numbered from 1 to 9

Input:

The input is a string of numbers consisting of sudoku values in row major form. Empty sudko cells are to be filled with a value of 0 in input string. The program will print out solved sudoku.

Average time for solving an empty sudoku (worst case scenario) - 0.02 secs

About

A simple python script that uses constraint propagation and backtracking to solve any 9x9 Sudoku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages