edited by
1,172 views
0 0 votes

You are given a large network (graph) consisting of data from Facebook: a million vertices corresponding to users, and undirected edges corresponding to friendships between users. Each edge is weighted in inverse proportion to the frequency of interaction between the two friends. You need to find a Minimum Spanning Tree of this network. Which algorithm will be better?
(a) Prim's algorithm should be faster.
(b) Kruskal's algorithm should be faster.
(c) Both algorithms should take about the same time.

1 Answer

Position:
Show:

Related questions

0 0 votes
0 0 answers
316
316 views
Miku221 asked Sep 3, 2024
316 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.2k
1.2k views
Debargha Mitra Roy asked Aug 25, 2024
1,230 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...
3 3 votes
2 answers 2 answers
2.6k
2.6k views
DeadMann asked Jun 24, 2023
2,586 views
Can anyone help in solving the question 105 to 109.I don't have answer key I want to confirm my answer ...i will update my answer in the comments.
2 2 votes
0 0 answers
1.2k
1.2k views