What is Adjacency Matrix and Adjacency List in Graph? Explain with Example.
Answers
Answered by
0
Answer:
The adjacency matrix, sometimes also called the connection matrix, of a simple labeled graph is a matrix with rows and columns labeled by graph vertices, with a 1 or 0 in position according to whether and. are adjacent or not. For a simple graph with no self-loops, the adjacency matrix must have 0s on the diagonal.
Similar questions
English,
2 days ago
English,
2 days ago
Math,
4 days ago
Social Sciences,
8 months ago
English,
8 months ago