AlgoMaster Logo

Tarjan's SCC Algorithm

n=8,edges=[[0,1],[1,2],[2,0],[3,4],[4,5],[5,3],[6,7],[7,6],[2,3],[5,6]]
0 / 35
01234567Stack(empty)disc--------low--------01234567Legend:UnvisitedOn StackSCC Founddisc == low (SCC root)
algomaster.io
Step:Start: Tarjan's SCC Algorithm