Place n chess queens on an n × n board such that no queen can attack another. Efficiently find all possible placements.