A closed knight's tour on a five-by-five board
A knight's tour is a sequence of knight moves that visits every square of a board exactly once. It is closed if the last square is a knight's move away from the first, so the knight could keep going round forever.
- Can a 5 by 5 board have a closed knight's tour?
- What can you say about which squares an open tour of the 5 by 5 board must start and end on?
Show a hint
Colour the board. A knight alternates colours with every move. Count the squares of each colour on a 5 by 5 board.
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
Can a knight tour a 3 by 3 board?Five in a circle, each says the person on the left is a knaveCan a 4 and a 6 minute glass ever measure 7 minutes?Jumping coins cannot build a bigger squareA knight from corner to opposite cornerThree houses, three utilities, no crossing pipes
All questions →