Skip to main content
Admissions guidance, study banks, and career tools — get started on Shalyam

Articulation Points

Given a connected undirected graph, print all articulation points (nodes whose removal disconnects the graph) in ascending order. Print an empty line if there are none.

Constraints

1 <= n <= 10^5 0 <= m <= 2 * 10^5

Discussion

No discussions yet.

Rewards · v2.1

Join Shalyam Newsletter

Get exclusive insights with every issue: education, research and innovation news.

One email a week. Unsubscribe any time.