Skip to content

# Sudoku Solver using Graph Coloring A Python implementation of a Sudoku solver that uses graph coloring concepts from graph theory

Notifications You must be signed in to change notification settings

soorabcode/Sudoku-Solver-using-Graph-Coloring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Sudoku Solver using Graph Coloring

A Python implementation of a Sudoku solver that uses graph coloring concepts from graph theory.

Overview

This project models Sudoku as a graph coloring problem where:

  • Each cell in the Sudoku grid is a vertex
  • Edges connect vertices that cannot have the same value (same row, column, or 3x3 box)
  • Solving Sudoku becomes equivalent to coloring the graph with 9 colors (1-9)

Features

  • Graph-based Sudoku representation
  • Backtracking with constraint propagation
  • Support for standard 9x9 Sudoku puzzles
  • Easy-to-use API
  • Comprehensive test suite

About

# Sudoku Solver using Graph Coloring A Python implementation of a Sudoku solver that uses graph coloring concepts from graph theory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages