- N-queen problem

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. Solutions exist for all natural numbers n with the exception of n=2 or n=3

Test Data: n= 8, 16, 24, 32, 50, 100

JamesCherrill 3,702