Mental Model
BFS explores all neighbors of a node before moving to the next level, like spreading out evenly in waves.
Analogy: Imagine you are in a building and want to visit every room floor by floor, starting from the entrance. You first check all rooms on the first floor, then all rooms on the second floor, and so on.
Start: Entrance ↓ Neighbors at level 1 ↓ Neighbors at level 2 ↓ ... Graph nodes connected by edges: 1 -> 2 -> 3 ↓ ↓ 4 5 BFS visits nodes level by level.
