2.6 Storing Graphs in Lists
This lesson presents the adjacency list as a memory-efficient method for storing graphs, particularly those that are sparse. It explains how to structure these lists for undirected, directed, and weighted graphs by associating each node with a list of its connected neighbors.
Licence: Creative Commons Attribution 4.0 International
Activity log
