Representation of graphs

Adjacency List

Its representation is such that, it will contain a Map where the key is the node and value is list of nodes it is connected to

Last updated

Was this helpful?