>_
solve_n_queens.go
Go 1.26
Not run yet

+ 6 hidden

Input
n = 4
Expected
[[1, 3, 0, 2], [2, 0, 3, 1]]

Two placements, each the mirror image of the other. The first puts its queens in columns 1, 3, 0, 2 from the top row down.