开发者

trying to implement sudoku solver brute foce algorithm [closed]

开发者_Python百科 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜