Examveda

What is the purpose of the adjacency list in graph representation?

A. To represent the graph in matrix form.

B. To store a list of adjacent vertices for each vertex.

C. To list all possible edges.

D. To represent the graph in matrix form.

Answer: Option B


This Question Belongs to Data Structure >> Graphs

Join The Discussion

Related Questions on Graphs

What is a cycle in a graph?

A. A path that starts and ends at the same vertex with no other repetitions.

B. A path that includes all vertices exactly once.

C. A path with no edges.

D. A complete traversal of all vertices.