/n-queens-clojure

N-Queens solved using backtracking in Clojure.

Primary LanguageClojureEclipse Public License 1.0EPL-1.0

n-queens

Usage

$ lein run <board-size>

Benchmark

size time taken to find all solutions
8-queens 0.093s
10-queens 0.559s
12-queens 13.172s
13-queens 73.651s

Tested on - MacBook Pro 2.7 GHz Intel Core i7, 16 GB RAM