On the Subject of Hamiltonian Cycle
Tying your shoelaces feels cumbersome and old-fashioned. Leave that task to a robot!
Each row in the lookup table will contain a string with 8 digits and 16 arrows.
Each digit shows the amount of an arrow pointing in a specific direction. The 1st digit is the amount of all arrows pointing north. All other digits show the amount of arrows going clockwise in successive 45° rotations.
The 16 arrows are provided as they would be on the grid in reading order.