Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
A Clojure project to try out various solutions to the N Queens problem. A good introduction to this puzzle is found on Wikipedia: http://en.wikipedia.org/wiki/Nqueens Another approach, using backtracking, is found beginning on page 203 of The Icon Programming Language, 3rd Edition. The entire book is available for download in PDF form from the University of Arizona at: http://www.cs.arizona.edu/icon/lb3.htm Programs: --------- permute-filter.clj Diagonal tests based on Icon book algorithm. permute-filter2.py Python program from Wikipedia using much concise algorithm. permute-filter2.clj Port of Wikipedia Python program to Clojure.