trying to implement sudoku solver brute foce algorithm [closed]
I've been trying to implement the brute force part of this http://www.garshol.priv.no/blog/178.html in my program here: http://paste.pound-python.org/show/7107/, but I'm relatively inexperience and I've hit a wall. I understand generally whats going on in the algorithm but I can't figure out where I'm going wrong.
Check out Peter Norvig's python sudoku solution. It's both more elegant and clearer imho. http://norvig.com/sudoku.html
maybe you want to try implimenting Dancing Links algorithm
more information about Dancing Links
精彩评论