Welcome guest!

N-Queens problem

Visualization of solving the N-Queens puzzle using recursive algorithm. The N-Queens puzzle is the problem of placing N chess queens on an N×N chessboard so that no two queens threaten each other. Thus, a solution requires that no two queens share the same row, column, or diagonal.

Fill in the N in the input box (using alphanumeric keys) and run the algorithm.

Average rating:   –
Please REGISTER or LOG IN, it's totally free! Registered users can
rate animations, add them among their favorites, and mark them as not working.

Category:Backtracking

Technology:JavaScript animation

Programming language:Pseudocode

Interactivity:Medium

Please REGISTER or LOG IN, it's totally free! Only registered users can write reviews!