Definition
Adjacency Matrix
An adjacency matrix is a square matrix used to represent a graph. The elements of the matrix indicate whether pairs of vertices are adjacent or not in the graph.
For undirected graphs, the adjacency matrix is symmetric.