LeetCode

Number of Connected Components in an Undirected Graph

Click here for an explanation.