Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 451 Bytes

File metadata and controls

4 lines (4 loc) · 451 Bytes

Eight-Queens-Algorithm

The eight queens puzzle is the problem of placing eight chess queens on an 8×8 chessboard so that no two queens threaten each other. Thus, a solution requires that no two queens share the same row, column, or diagonal. The eight queens puzzle is an example of the more general n-queens problem of placing n queens on an n×n chessboard.

Notes

This program demonstrates three different solutions to the eight queens puzzle