May 2017
Intermediate to advanced
340 pages
8h 16m
English
We can represent a graph using a linked list where one array will be used for vertices and each vertex will have a linked list, which will represent the edges between adjacent vertices. An example graph looks like this when represented in an adjacency list:

Read now
Unlock full access