Problem 1428 · Medium

Leftmost Column with at Least a One

Walk a staircase from the top-right corner: a one pulls the cursor left, a zero drops it down a row.

Open the interactive visualisation