0
0
DSA Typescriptprogramming~5 mins

Articulation Points in Graph in DSA Typescript - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is an articulation point in a graph?
An articulation point is a vertex in a graph that, if removed along with its edges, increases the number of connected components. It is also called a cut vertex.
Click to reveal answer
intermediate
Which algorithm is commonly used to find articulation points in a graph?
Tarjan's algorithm using DFS (Depth First Search) with discovery and low time arrays is commonly used to find articulation points efficiently.
Click to reveal answer
intermediate
In Tarjan's algorithm, what does the 'low' value represent for a vertex?
The 'low' value of a vertex is the earliest discovery time reachable from that vertex or its descendants by following back edges.
Click to reveal answer
intermediate
Why is the root of DFS tree an articulation point only if it has more than one child?
Because if the root has more than one child, removing it disconnects those children subtrees, increasing connected components. If it has one or zero children, removal does not disconnect the graph.
Click to reveal answer
intermediate
What is the time complexity of finding articulation points using Tarjan's algorithm?
The time complexity is O(V + E), where V is the number of vertices and E is the number of edges, because it uses a single DFS traversal.
Click to reveal answer
What happens if you remove an articulation point from a connected graph?
AThe graph becomes a tree
BThe graph remains connected
CThe graph becomes disconnected or increases connected components
DNothing changes
In Tarjan's algorithm, which data structure is primarily used to explore the graph?
AQueue
BDepth First Search (DFS) recursion
CBreadth First Search (BFS)
DStack
What does a 'back edge' in DFS indicate?
AAn edge to a child vertex
BAn edge that forms a cycle with the root only
CAn edge to a disconnected vertex
DAn edge to a previously visited ancestor vertex
Which condition identifies a vertex u as an articulation point when u is not the root?
AIf low[v] >= disc[u] for any child v of u
BIf disc[u] > low[v] for any child v of u
CIf u has no children
DIf u is connected to all vertices
What is the initial value of discovery time for all vertices before DFS starts?
A-1 or undefined
BInfinity
C0
D1
Explain how Tarjan's algorithm finds articulation points in a graph using DFS.
Think about how discovery and low values help detect if a vertex connects different parts of the graph.
You got /5 concepts.
    Describe why the root of the DFS tree is treated differently when identifying articulation points.
    Consider how removing the root affects connectivity compared to other vertices.
    You got /4 concepts.