Adjacency Matrix
Learn how to represent a graph as an adjacency matrix.
We have already defined graphs in
One such representation is the adjacency matrix representation. Using this representation, graphs can be stored as two-dimensional arrays.
Get hands-on with 1400+ tech skills courses.