Problem 2120 · Medium
For every instruction suffix, count moves before leaving the grid.
Open the interactive visualisation