In graph theory and computer science, an adjacency matrix is a square matrix used to represent a finite graph. The elements of the matrix indicate whether pairs of vertices are adjacent or not in the graph.

## References

“Adjacency Matrix.” 2022.

*Wikipedia*, June. https://en.wikipedia.org/w/index.php?title=Adjacency_matrix&oldid=1091931889.