The most knights that cannot attack each other
What is the largest number of knights that can be placed on an 8 by 8 chessboard so that no two of them attack each other? Give an arrangement that achieves your number, and prove that no arrangement can do better. Then compare with the corresponding numbers for rooks, bishops and kings.
Show a hint
A knight always attacks a square of the opposite colour. For the upper bound, pair up the squares of the board so that the two squares in each pair attack each other.
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
A knight from corner to opposite cornerCan a knight return home in an odd number of moves?The most bishops that cannot attack each otherThe most kings that cannot attack each otherA rook's tour from corner to opposite corner
All questions →