Skip to content

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.

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.

Articles