AdjacencyMatrix: Representing a Graph by a Matrix

Learn about the representation of graphs by matrices.

An adjacency matrix is a way of representing an nn vertex graph G=(V,E)G = (V ,E) by an n×nn \times n matrix, a, whose entries are boolean values.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy