Two rooks that do not attack each other
Two identical rooks are placed on distinct squares of an 8 by 8 chessboard.
- In how many ways can they be placed so that they do not attack each other (not in the same row or column)?
- In how many ways do they attack each other?
- What is the probability that two randomly placed rooks attack each other?
Show a hint
Place the first rook anywhere, then count the squares safe from it. Remember the rooks are identical, so each pair has been counted twice.
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
How many rectangles are on a chessboard?How many diagonals does a twenty-sided polygon have?Four queens on a four-by-four boardHandshakes at a party of ten couplesPaths across a six-by-six grid
All questions →