Graph and its representations - GeeksforGeeks
Following two are the most commonly used representations of graph.1. Adjacency Matrix
2. Adjacency List
There are other representations also like, Incidence Matrix and Incidence List. The choice of the graph representation is situation specific. It totally depends on the type of operations to be performed and ease of use.
Read full article from Graph and its representations - GeeksforGeeks
No comments:
Post a Comment