Topic: Backtracking Problem / Level: advanced

Problem: Solve the N-Queens problem for an arbitrary n x n chessboard, counting all distinct solutions.

Run the code to see the output here...