Problem 4061 · Medium

Minimum Queen Moves to Reach Target

On an empty board a queen needs one move when the squares share a line, and otherwise two moves through a pivot square.

Open the interactive visualisation