1,973 views
2 2 votes
Consider a Weighted undirected graph connected with 'V'  vertices and 'E' edges.What is the worst case time complexity to check if 2 particular vertices 'x' and 'y' are present in the graph, if present then calculate the minimum distance between them?

Please log in or register to answer this question.

Position:
Show:

Related questions

0 0 votes
0 0 answers
389
389 views
Malusi asked Jan 12, 2024
389 views
Consider a weighted undirected graph with positive edge weights and let (u, v) be an edge in the graph. It is known that the shortest path from source vertex r to u hasw...
0 0 votes
2 2 answers
2.2k
2.2k views
radha gogia asked Jun 30, 2015
2,198 views
Does a DFS for an undirected graph always produce the same number of tree edges irrespective of the order in which we visit the vertices ?