AlgoMaster Logo

Rotting Oranges

grid=[[2,1,1],[1,1,0],[0,1,1]]
0 / 45
algomaster.io
Step:Spread rot outward from every initially rotten orange