Data Structures and Algorithms ยท Graphs

Graph representations

Storing a graph's vertices and edges as an adjacency matrix or adjacency list.

Also known as: adjacency list, adjacency matrix, directed graph, undirected graph.

Start a lesson on Graph representations

Learn first

Leads to

Related topics