Let G be a graph with V vertices and E edges. The Time complexity to find if there is an edge between 2 particular vertices with an adjacency list representation is: ~V ~1 ~V+E ~E
Let G be a graph with V vertices and E edges. The Time complexity to find if there is an edge between 2 particular vertices with an adjacency list representation is: ~V ~1 ~V+E ~E
Related questions
Question

Transcribed Image Text:Let G be a graph with V vertices and E edges. The Time complexity to find if there is
an edge between 2 particular vertices with an adjacency list representation is:
~V
~1
~V+E
~E
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
