Algorithm Atlas

Preparing your learning space

Checking your account, lessons, and saved progress. The server is starting after a long break. This first cold start may take 5–10 seconds

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