← Back to problem library
Problem detail
323. Number of Connected Components in an Undirected Graph
MediumDepth-First SearchBreadth-First SearchUnion-FindGraph TheoryPremium
Use this page to open the original problem, record a review, and keep the reasoning you want to remember for the next attempt.
Review history
No review history yet. Record your first attempt after solving this problem.