← All problems
Hard · Backtracking

N Queens II

Count placements of n nonattacking queens.

Full problem and submission ↗
main.js

Console

Ready