Skip to content

Glossary: Algorithms Beyond the Basics

Adjacency list

A way to store a graph as a dict from each place to the list of its neighbors. In a weighted graph each neighbor is stored as a `(neighbor, minutes)` tuple.

Where the book teaches it

Related terms

Weighted graphEdge (graph)