Problem 2664 · Medium

The Knight’s Tour

A knight walks the board, labelling each square; it tries the square with the fewest onward moves first and backs up at dead ends.

Open the interactive visualisation