A JavaScript solution to the n-queens problem to find the number of arrangements of queens on an n x n board, where solutions exist for all natural numbers except n = 2 and n = 3.
Tests are located in the /spec directory. To run them, open the spec runner file in any browser.
SpecRunner.html