Overview
Lexicographic Breadth-First Search is a graph algorithm that extracts graph structure such as components, rankings, closures, flows, or matchings. It helps expose graph structure that is hard to see from local edges alone.
Lexicographic Breadth-First Search extracts structure such as components, tours, rankings, or closures from a graph.
Compact metadata for implementation and discovery.
Lexicographic Breadth-First Search is a graph algorithm that extracts graph structure such as components, rankings, closures, flows, or matchings. It helps expose graph structure that is hard to see from local edges alone.
Quick facts
Runtime and memory behavior at a glance.
Best
O(V + E)
Average
O(V + E)
Worst
O(V + E)
Space
O(V)
Show graph nodes and edges changing color as the traversal, ranking, or flow state evolves.
Lexicographic Breadth-First Search operates in O(V + E) time and O(V) space within the Graph Algorithm family. Often compared with Breadth-First Search and Depth-First Search.
What each reference supports for this entry.
Textbook support for Lexicographic Breadth-First Search's standard algorithm design, invariants, and complexity analysis.
Open sourceAlgorithm catalog support for Lexicographic Breadth-First Search's problem context, known alternatives, and practical selection tradeoffs.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Lexicographic Breadth-First Search and Breadth-First Search address nearby graph traversal problems but make different implementation tradeoffs.