On which of the following statements does the time complexity of checking if an edge exists between two particular vertices is not, depends?
A. Depends on the number of edges
B. Depends on the number of vertices
C. Is independent of both the number of edges and vertices
D. It depends on both the number of edges and vertices
Answer: Option C

Join The Discussion