Land of Queens
1 min readOct 12, 2019
In the land of chess, The Queen is literally the most powerful Human let alone a woman! but, what if the land is Amazonian, the land of wonder women!
Solution to the classic n-queens constraint satisfaction problem demonstrating backtracking, placing n queens on a chess board without conflicts, in Pythonic Art.
[(0, 0), (4, 1), (7, 2), (5, 3), (2, 4), (6, 5), (1, 6), (3, 7)]
Q : : : : : : :
: : : : : : Q :
: : : : Q : : :
: : : : : : : Q
: Q : : : : : :
: : : Q : : : :
: : : : : Q : :
: : Q : : : : :