Skip to content

Glossary: Data Structures and Algorithms in Java

adjacency list

Also written: adjacency lists

A way to store a graph as a Map from each vertex to the list of its neighbors. Alex's road map stores "Roastery" with the list of places one road away.

Where the book teaches it

Related terms

graphvertexneighbor