Adjacency List

Preview

An adjacency list is a common way to represent a graph. In an adjacency list, we are given a list of nodes, where each node is mapped to a list of its neighbors.

Sign in to read the full chapter.

Checking access…