500 views
4 votes
4 votes

Let G(V, E) be an undirected graph with positive edge weights. What is the worst case time complexity to find minimum spanning tree using Kruskal algorithm is implemented using array data structure ?

a) O(|E|+|V log V|)

b) O(|V| |log V|)

c) O(|V2|)

d) O(|V| |log2V|)

2 Answers

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
0 answers
3
Naveen Kumar 3 asked Nov 10, 2018
656 views
Let us assume that $G$($V$, $E$) is a weighted complete graph such that weight of the edge <$V_K$,$V_L$>=2|$K$-$L$|. The weight MST of $G$ with 100 vertices is __________...
0 votes
0 votes
3 answers
4
iarnav asked Apr 29, 2018
1,589 views
Question 1) The shortest-path tree computed by Dijkstra's algorithm is necessarily an MST?Question2 ) Prim's algorithm works with negative weighted edges?