Place N queens so that none attacks another: row by row, backing up at every dead end.
This interactive visualization needs JavaScript.