Watch this speedy little app zip through n-queens solutions! N-Queens at Jounce.Space
Simple javascript, no dependencies.
A classic computer science exercise, the n queens puzzle is the problem of placing n chess queens on an nxn chessboard so that no queen threatens any another. Thus no queen shares a row, column, or diagonal with any other queen.
My method does not use recursion and a global variable represents the chess board. [The CS professor frowns.]
Mesmerizing!
? ? ?