DIY: Rotting Oranges
Understand how to model and solve the Rotting Oranges problem involving grid traversal and network propagation. Learn to implement a function that calculates the minimum minutes until all fresh oranges turn rotten or determine impossibility.
We'll cover the following...
We'll cover the following...
Problem Statement
You are given an m * n grid. Each cell in the grid contains one of the three values: [0, 1, 2]. Each value represents the following:
0represents an empty cell.