K5kC | Code & More
Computer Science
Algorithms
Programming Languages
Database
System Design
Problems
Blind 75
Difficulty: Easy
Difficulty: Medium
Difficulty: Hard
Videos
Projects
Android
Data Science
Computer Vision
Simulations
Tools
UUID Generator
Code Formatter
Search
⌘K
Number of Connected Components in an Undirected Graph
Copy title
Copy link
medium
Solve on LeetCode
6 Companies
Related Tags
component
connection
disjoint-set
graph/undirected
leetcode
matrix
union-find
Continue Practicing
Remove a vertex and all connected edges from a graph
Easy
Please enable JavaScript to view the
comments powered by Disqus.
Number of Connected Components in an Undirected Graph - Coding Problem | K5kC