Search posts, tags, users, and pages
Given a 2D grid representing oranges where 0=empty, 1=fresh orange, 2=rotten orange, determine the minimum time in minutes for all fresh oranges to rot, or return -1 if impossible.
tracelit
@tracelit
Markdown supported · ⌘↵ to post
No responses yet.