Available question text
Find a sequence of knight moves that visits every square of an N×N chessboard exactly once (a Hamiltonian path/cycle in the knight-move graph), typically from a given starting square. The problem requires search/backtracking with pruning or heuristics (e.g., Warnsdorff’s rule) to construct a valid tour or report none exists.
Related questions
Continue with questions that share topics or the same question type.
- Check Knight Tour Configuration
Coding
- Knight Dialer
Coding
- Knight Probability in Chessboard
Coding
- Minimum Knight Moves
Coding · A* Search · Bidirectional Search · Breadth-First Search
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2664. The Knight’s Tour
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source