Graphs
Data structure¶
Adjacency matrix
(2d array with the values of the edges)
Adjacency list
Array of linked lists
the way you would represent the graph with objects
Last update:
2023-04-24
Adjacency matrix
(2d array with the values of the edges)
Adjacency list
Array of linked lists
the way you would represent the graph with objects