Examveda

In which graph representation is it more efficient to perform BFS, an adjacency matrix or an adjacency list?

A. Adjacency list

B. Adjacency matrix

C. Both are equally efficient.

D. It depends on the graph density.

Answer: Option A


Join The Discussion

Related Questions on Graph Algorithms (DFS, BFS, Dijkstras, etc)