Skip to content

Graphs

Data structure

Adjacency matrix
(2d array with the values of the edges) c3311b3ebe34d9d282470670411c140b.png

Adjacency list

Array of linked lists

bca86d1386521c33b613b214d6a2b7b1.png

the way you would represent the graph with objects


Last update: 2022-09-23