Solutions to 8 Queens Problem
The 8 queens problem is a situation where we have to place 8 chess queens on an 8×8 chessboard such that no two queens attack each other i.e. no two queens should lie in the same row, same column or same diagonal.
The 8 queens puzzle is just a part of the general n-queens problem of placing n queens on an n×n chessboard.
How many unique solutions do this problem exists?
What is algorithm to find a solution to this problem?
Let's discuss.