Learn Before
Relation
Representation of Graphs
Graphs can be represented using the adjacency matrix
Each node in the graph has a row and a column in the adjacency matrix.
The presence of edges is represented as an entry in the matrix as if and otherwise
0
1
Updated 2022-06-26
Tags
Data Science