Graphs
↑Unlike a tree, a graph can contain cycles, disconnected components and multiple routes between vertices. Learn adjacency lists, visited sets and directed edges before exploring graph-search algorithms.
How to study this section
Section titled “How to study this section”Start with one concept, work through a small example, and verify your prediction. Follow linked topics when a prerequisite or related idea needs more explanation.
Explore guides and subcategories
Section titled “Explore guides and subcategories”Articles
