Term
Adjacency matrix
A way of keeping a graph in an n × n matrix. Cell adj[u][v] is 1 when there is an edge from u to v and 0 otherwise.
A way of keeping a graph in an n × n matrix. Cell adj[u][v] is 1 when there is an edge from u to v and 0 otherwise.