Sudoku Solver using backtracking

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
756 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 27, 2011

This video demonstrates the sudoku solver I've created recently. It's in python and the source code can be obtained from my website:

https://sites.google.com/site/freehomebrew/freeware/sudoku-solver

It solves sudokus using backtracking.
It can solve any size of sudoku, including ones without solutions (it'll tell you it has no solutions).
At the site, other puzzles are included that you can test and alter. The puzzles are simply text files with the numbers separated by spaces and empty cells being zero.

Backtracking simply means to keep a record of past decisions you can come back to when you'll make a future mistake based on assuming the past decision was correct.

I still say uhh a lot but I think I've improved a bit in making video's (still a long way to go though). Please comment and rate to let me know what you think of this video and it's content. :-)

===========================================================
Info on wikipedia:
sudoku's:
http://en.wikipedia.org/wiki/Sudoku
backtracking:
http://en.wikipedia.org/wiki/Backtracking
python:
http://en.wikipedia.org/wiki/Python_%28programming_language%29

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • @stephenmccormickify You're very welcome! This is why I posted this in the first place :D

  • Thank you for posting this. I have to do this for and assignment and did not understand the algorithm I was meant to write until watching this.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more