AlgoScope

Tarjan SCC

AlgorithmadvancedConnectivity

Push on entry, lower low-links through open vertices, pop a whole component when low[u] == disc[u].

Decision · step 5 of 24Bridges and Components: Tarjan on two cycles
0011203456u

Edge 2 -> 0: 0 is still on the stack, so it is open and in the same component as 2. low[2] drops to disc[0] = 0.

Open in the player →or start at step 5

What you will see

Each vertex shows index/low; the stack beside the graph pops a whole component at once.

How bridges and components works →

Cost

BestO(V + E)
AverageO(V + E)
WorstO(V + E)
SpaceO(V)

How you work with it here

play it through, step one change at a time, scrub to any step, run it on your own input, predict what happens next.

Screen readers: Vertices announce name, discovery numbers where relevant and component; each step announces the structural conclusion (bridge found, component closed).

Reduced motion: Component colouring and ordering changes crossfade in place.

Leads to

Topics that need this one first.

Taught by the same lesson

Bridges and Components covers these too, in the same run.