Problem 505 · Medium
Find the shortest rolling distance that stops exactly at the destination.
Open the interactive visualisation