Qm

A rook's tour from corner to opposite corner

A rook starts on a1 and moves one square at a time (up, down, left or right). It must visit every square of the 8 by 8 board exactly once and finish on h8, the opposite corner.

  1. Is this possible?
  2. Is it possible to finish on h1 instead (the corner along the same edge)?
  3. Does the answer change for a king, which can also move diagonally?
Show a hint

Count the moves, and watch the colour of the square the rook is on.

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

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Can a knight return home in an odd number of moves?A closed knight's tour on a five-by-five boardA knight from corner to opposite cornerThe most knights that cannot attack each otherStraight trominoes and the one uncovered square
All questions →