AlgoMaster Logo

Cherry Pickup

grid=[[0,1,-1],[1,0,-1],[1,1,1]]
0 / 18
algomaster.io
Step:Starting Cherry Pickup algorithm. Two walkers traverse the grid simultaneously from (0,0) to (n-1,n-1).