Resource · Guide or article
Bridges in Graph
Defines a bridge, or cut edge: an edge whose deletion adds a connected component, equivalently an edge on no cycle.
Reviewed
Open the original: Bridges in Graph (opens the original site in a new tab)Practice this topicOpens the practice interviewer with a question on Graphs.
Add to a roadmap
Keep this resource with a roadmap you follow. It appears as your own extra resource; the roadmap's steps don't change and it doesn't count toward your tracked steps.
Source content: English
In graph theory, a bridge, isthmus, cut-edge, or cut arc is an edge of a graph whose deletion increases its number of connected components. Equivalently, an edge is a bridge if and only if it is not contained in any cycle. A graph is said to be bridgeless or isthmus-free if it contains no bridges. A graph with 16 vertices and 6 bridges (highlighted in red) An undirected connected graph with no cut edges
PrepKit overview
PrepKit editors wrote and reviewed this overview from the source repository. It is not text from the resource itself.
- Suited to
- The source does not state a level
- Format
- Reference
What it covers
- Other names (isthmus, cut-edge, cut arc) and the term bridgeless graph
- Example images: a 16-vertex graph with 6 highlighted bridges, and a connected graph with none
How to use it
PrepKit study advice, not a claim made by the source.
Find bridges in a small graph by removing each edge and testing connectivity, then build the single-DFS method the Wikipedia link points to (Tarjan's) and check both agree.
Scope and limitations
No algorithm is explained in the README itself, and there is no complexity or code walkthrough.
Access and format
Free English README on GitHub in the MIT-licensed trekhleb/javascript-algorithms repository.
Reviewed by PrepKit on Oct 2, 2026. Listing source commit: 85293e3e2b88
Evidence behind this overview
- src/algorithms/graph/bridges/README.md
Pages that include this
Get the PrepKit newsletter
Optional. You don't need it to use PrepKit.