Which of the following statements is/are TRUE regarding adjacency matrices…
Which of the following statements is/are TRUE regarding adjacency matrices over adjacency lists when representing an undirected graph G?
- A.
Any graph G can be represented using fewer bits of space with an adjacency matrix than with adjacency lists.
- B.
It is often faster to add and remove edges from G when using an adjacency matrix.
- C.
With adjacency matrices, iterating over all neighbours incident to a vertex v requires only O(v.δ(v)) time, where δ(v) is the degree of v
- D.
None of these
Attempted by 377 students.
Sign up free to check your answer
Sign up freeLoading lesson…