Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.
Fun, engaging games to boost memory, math fluency, typing speed, and English skills—perfect for learners of all ages.
The chapter explores the applications and properties of graph traversal techniques such as Breadth-First Search (BFS) and Depth-First Search (DFS). It discusses how these methods can identify connected components, determine cycles, and reveal important structural features in both undirected and directed graphs. Additionally, the chapter highlights the classification of edges and presents the concept of strongly connected components in directed graphs.
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
References
ch22.pdfClass Notes
Memorization
What we have learnt
Final Test
Revision Tests
Term: Connected Components
Definition: Groups of vertices in a graph where each vertex is reachable from any other vertex in the same group.
Term: Cycles in Graphs
Definition: Paths in a graph that start and end at the same vertex, indicating a loop within the structure.
Term: Tree Edge
Definition: An edge that is part of the traversal tree formed by BFS or DFS.
Term: Strongly Connected Components
Definition: Subsets of a directed graph where every pair of vertices can reach each other.