Skip to content

Glossary: Data Structures and Algorithms in C++

Adjacency list

Also written: adjacency lists

A way to store a graph as a map from each place to a vector of its neighbors. Alex's map keeps "Roastery" -> Burnside, Hawthorne, Sellwood.

Where the book teaches it

Related terms

GraphNeighborVertex