Question - Mention the data structures which are used in graph implementation.
Answer -
For the graph implementation, following data structures are used.
- In sequential representation, Adjacency matrix is used.
- In Linked representation, Adjacency list is used.