The fewest queens that guard the whole board
What is the smallest number of queens that can be placed on an 8 by 8 chessboard so that every square is either occupied by a queen or attacked by one?
Give an arrangement, and explain why fewer cannot work.
Show a hint
A queen attacks at most 27 squares, and with her own square covers 28. Compare with 64, then think about why the simple count is not enough on its own.
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
Four queens on a four-by-four boardHow many squares does a queen attack?A closed knight's tour on a five-by-five boardIf 100 coins are jammed in, 400 coins can cover the tableInfecting a chessboard
All questions →