Home
Code Katas
Resume
N Queens Problem
Task
Place
N
queens on an
N x N
chess board so that no queen is attacking any other queen.
Configuration
Board Size (8x8)
8
4
16
A
B
C
D
E
F
G
H
8
7
6
5
4
3
2
1
Simulations
Reset All
Play All
Pause All
Animation Speed (ms)
1000
10
1000
Select Algorithm
Backtracking
Random Restart
Hill Climbing
Simulated Annealing