What is an NQueen Problem?
We are given N chess’s queens and is asked to place them in the chessboard of size NxN so that no two queens attack/eliminate each other.
A queen can only attack :
- If another queen is on the Same Row
- If another queen is on the Same Column
- If another queen is on the Same Diagonale (left or right)