Concept Flow - Graph representations (adjacency matrix vs list)
Start with Graph
Adjacency Matrix
Create NxN matrix
Mark edges with 1
Access edge by index
Use in algorithms
This flow shows how a graph can be represented either by a matrix or a list, starting from the graph and choosing the representation method.