Breadth-first search
Breadth-first search is a graph traversal algorithm that visits vertices in order of increasing distance from a starting vertex, typically using a queue.
Linked from 21 pages
Tree (graph theory)Related: On a tree, it visits vertices by their distance from the chosen root.
Bellman–Ford algorithmCompared with: It is simpler and faster when every edge has equal cost.
Spanning treeRelated: Its discovery edges form a spanning tree organized by distance layers.
Odd cycleRelated: BFS layers expose parity conflicts that certify an odd cycle.