Algorithm Atlas

Preparing your learning space

Loading your lessons and saved progress.

Rotting Oranges: step-by-step visual explanation

Learn the Rotting Oranges problem with a step-by-step DSA animation. Follow the BFS (Unweighted Path) solution with synced C#, Python, and Java code.

BFS (Unweighted Path) pattern

A multi-source BFS simply starts with several level-zero nodes, then follows the same level-by-level rule.

Difficulty: Medium · Approach: Visible frontier and visited order

This is a public lesson preview. Sign in with a Lifetime Pass to open the protected animation, solution, and code.

More BFS (Unweighted Path) lessons