What is the space complexity of the adjacency matrix representation of a graph…
What is the space complexity of the adjacency matrix representation of a graph with V vertices?
- A.
O(V)
- B.
O(V + E)
- C.
O(V^2)
- D.
O(E)
Attempted by 703 students.
Sign up free to check your answer
Sign up freeLoading lesson…