Adjacency List: How to Represent a Graph in Memory

Giovanni Pace

Description

Let's look at the adjacency list and adjacency matrix as two different ways to represent a graph in memory: I'll explain how both work and when it makes sense to use one over the other depending on the problem type.