Skip to content

Glossary: Data Structures and Algorithms in Rust

Graph

Also written: graphs

A set of vertices joined by edges, such as Alex's places joined by roads. Graphs can hold loops that a vector or tree can't.

Where the book teaches it

Related terms

VertexEdgeAdjacency list