Programming, Graph Theory, Computer Science, Data Science.
adjacency matrix (as it doesn’t need to track edges that don’t exist), but it can get just as big in a graph with many edges. Adjacency lists are the typical choice for “general purpose” use, though edge lists or adjacency matrices have their own strengths, which may match a specific use case.