This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingCount the distinct solutions of N-Queens without listing them.
What this asks
Count the distinct solutions of N-Queens without listing them.
Row by row placement with column and diagonal sets, counting at the last row and undoing on the way back.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing