Order the steps that you should take to perform Tarjan’s algorithm:
Tarjan's algorithm
Reconstructing the algorithm
Report a typo
Put the items in the correct order
Pop the values from the stack if the current node is the root of the SCC
Start DFS
Make recursive calls for the unvisited children of the current node
Push the current node onto the stack
Check whether the current node is the root of the SCC
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.