Vidyalelo
Data Structure · Q32

Graphs

Programming · Data Structure · question 32

Q32

What is the time complexity of adding an edge in an adjacency list representation of a graph?

A.
O(V)
B.
O(E)
C.
O(1)
Answer
D.
O(V2)

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board