Skip to content

Glossary: Data Structures and Algorithms in C++

Graph

Also written: graphs

Vertices joined by edges, such as places joined by roads. It suits maps with loops that a vector or tree can't hold.

Where the book teaches it

Related terms

VertexEdgeAdjacency list