N queens
Place one queen in each row so that no two attack each other. Start with a 4 × 4 board.
A queen attacks along its column and both diagonals. If a square is safe, place a queen and move to the next row.
When a row has no moves left, return to the last choice and try the next column. A 4 × 4 board has two solutions.
Select a square to fix a queen there. Select it again to remove the clue.