N Queens (old)

Question: Write a program which returns all distinct nonattacking placements of n queens on an nxn chessboard, where n is an input to the program.

Table of Contents
Enroll in our 5-day mini coding interview class