Search⌘ K
AI Features

Rotting Oranges

Rotting Oranges gives a grid of empty cells, fresh oranges, and rotten oranges. Find the minutes until all fresh oranges rot through four-directional contact, or return -1 if any remain.

Statement

Consider an ...