Graph Representation with adjacency matrix and adjacency List

How to Represent Graph  with adjacency matrix and adjacency List

Graph representation with adjacency matrix, adjacency list in data structures
Graph representation with adjacency matrix, adjacency list in data structures

Adjacency Matrix

complexity of Adjacency Matrix

The complexity of Adjacency Matrix is O(V2).

Adjacency List