What are the advantages of adjacency matrix over linked lists
Answers
Answered by
0
Adjacency list is much more efficient for the storage of the graph, especially sparse graphs, when there is a lot less edges than nodes. In terms of the accessing time, adjacency matrix is much more efficient when finding the relationships in a graph.
Similar questions