Beyond the 8 Queens Problem
The 8 Queens Problem is a well-known problem that asks you to place eight chess queens on an 8×8 chessboard so that no two queens can attack each other. In this application, we consider the more general version of placing m chess queens on an n × n chessboard. The problem has a solution if n > 3 and m <= n.