Problem 505 · Medium

The Maze II

Find the shortest rolling distance that stops exactly at the destination.

Open the interactive visualisation