The N-Queens Problem is a canonical constraint satisfaction problem (CSP) and NP-complete combinatorial puzzle. The objective is to place N chess queens on an N×N board so that no two queens attack each other, meaning they cannot share the same row, column, or diagonal. It serves as a fundamental benchmark for evaluating backtracking search, constraint propagation, and local search algorithms. Solutions require satisfying all positional constraints simultaneously, making it an ideal model for scheduling and configuration problems.
