17/32
Part 4 of 7 · Many sourcesWatch
Watch · 4 min

NeetCode draws the multi-source search on the rotting-oranges grid. Why a search from one rotten orange gets the time wrong, the queue seeded with every rotten orange, one minute per level, and a count of fresh oranges to tell when the answer is -1.

Rotting Oranges - Leetcode 994 - Python · NeetCode · Nov 2021YouTube