Which representation is most suitable for sparse graphs, where the number of edges is significantly less than the number of vertices?
Adjacency list
Incidence matrix
Adjacency matrix

Advanced Data Structures Übungen werden geladen ...