Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 322 Bytes

File metadata and controls

8 lines (6 loc) · 322 Bytes

This is an expanded version of the classic '8-Queens' problem to generate a solution for any passed integer. But really, don't try it with numbers higher than 17. For your CPU's sake.

Note: Some passed integers will have no possible solution. Try in the range 4 <-> 17.

https://en.wikipedia.org/wiki/Eight_queens_puzzle