2,186 views
1 1 vote

Complexity of Kruskal’s algorithm for finding the minimum spanning tree of an undirected graph containing n vertices and m edges if the edges are unsorted is _______

______________________________________________________________________________

If elements are sorted we do with Union Find algo with inverse of Ackermann function i.e.$O\left (|E|.\alpha |V| \right )$ , where $\alpha |V|$ is $log^{*}V$

Now from here can we derive it for unsorted edges?

for ref: here

1 Answer

Position:
Show:

Related questions

2 2 votes
0 0 answers
1.2k
1.2k views
0 0 votes
2 2 answers
2.8k
2.8k views
radha gogia asked Aug 5, 2015
2,759 views
Does it tale constant time or the time taken proportional to search in the entire partition of elements to find whether the component lies in that same component or not ?
0 0 votes
0 0 answers
324
324 views
Miku221 asked Sep 3, 2024
324 views
Given a connected graph has $N$ vertices and $M$ edges. Each node $i$ has the weight value $w_i$. Define the strength of a path from $s$ to $t$ is the maximum weight of a...
1 1 vote
1 answers 1 answer
1.3k
1.3k views
Debargha Mitra Roy asked Aug 25, 2024
1,265 views
Which of the statement is/are correct?(a) First edge added by Kruskal’s algorithm can be the last edge added by prim’s algorithm(b) In a graph, if one raises the length o...