Hard#51Constraint Backtracking

N-Queens

Place n queens on an n×n board so no two attack each other.