Skip to content

Glossary: Data Structures and Algorithms in Rust

Adjacency list

A way to store a graph as a HashMap whose keys are places and whose values are Vecs of each place's neighbors. In Alex's map, the Roastery's list is Burnside, Hawthorne and Sellwood.

Where the book teaches it

Related terms

GraphHash mapNeighbor