The 8 queens problem.

May 12, 2009, 12:00 AM 16,348 Reads 34 Comments Fun & Trivia

The problem consists in place 8 queen in a chessboard, but neither queen is able to attack other queen.

I found this solution after 30 min, but don´t see it untill you solve the problem by yourself, totally are 12 unique solutions (92 counting rotations and relfections).

There is an algorithm to construct the solutions, many variants, the general case (to place n queens in a nxn board) if you are interested you can check the wikipedia to learn more.

P.D. Ignore the kings, but in diagrams they always appear.


Online Now