Introduction - If you have any usage issues, please Google them yourself
The logical structure is divided into two parts: the V and the E set. Therefore, a one-dimensional array is used to store all the vertex data in the graph, and a two-dimensional array is used to store the data of the vertex relations (edges or arcs). The two-dimensional array is called the adjacency matrix. Adjacency matrix is also divided into directed graph adjacency matrix and undirected graph adjacency matrix