You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ahakouz17 edited this page Feb 11, 2019
·
2 revisions
Finding Connected Components
In order to find the connected components in the graph, either Breadth First Search BFS of Depth First Search DFS can be exploited to report the connected components using a stack or a queue respectively. DFS was used in CLUSTER algorithm.
Run time analysis:
The running time of the finding connected components T(n) can be expressed as follows: