This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use depth-first search to identify all vertices in a single connected component by exploring from a start vertex.
You've completed the free preview. Subscribe to unlock every lesson in every course.