Concept Flow - Bridges in Graph Tarjan's Algorithm
Start DFS from a node
Assign discovery time & low value
For each neighbor
If not visited
→DFS on neighbor
Update low of current node
Check if low[neighbor
If yes, mark edge as bridge
If visited and neighbor != parent
→Update low of current node
Repeat until all nodes visited
Output all bridges found
The algorithm uses DFS to assign discovery and low times to nodes, updating low values based on neighbors. If a neighbor's low value is greater than the current node's discovery time, the edge is a bridge.
