This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Apply breadth-first search as an alternative to DFS for discovering all vertices within one connected component.
You've completed the free preview. Subscribe to unlock every lesson in every course.