Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
If we become stuck, there's either a loop around the source or around the target.
If there is a loop around say, the source, what is the maximum number of squares it can have?