Answer:
Please check the attachment
Step-by-step explanation:
The adjacency matrix gives us an insight of what are the joining vertices of the given vertices, Those are connected are given 1 value and those that are not connected are given value 0.
Similarly, the adjacency list representation is a list that shows the neighbors of each node of a graph.