closed by
560 views
0 votes
0 votes
Which algorithm will be implemented on the weighted graph in which the edges are uniformly distributed over the half-open interval $[0,1)$ to construct MST so that it runs in linear time?
$A)$ Kruskal's algorithm                              $B)$ Prim's algorithm
$C)$ Both $(A)$ and $(B)$                                $D)$ None of these
closed by

Related questions

3.2k
views
1 answers
4 votes
srestha asked Apr 30, 2018
3,217 views
1) Kruskal Algorithm2) Prims Algorithm3) Dijkstra Algorithm4) Bellman Ford Algorithm5) Floyd Warshall AlgorithmAmong these which one works for onlyi) Positive edge weightii) Negative edge weightiii) Negative weight cycle
658
views
0 answers
1 votes
Na462 asked Feb 19, 2018
658 views
Given a graph with positive and distinct edge weights. If I double or triple.. the edge weights then:- 1. Shortest path will remain same2. Mst will remain sameRight? ... i am doubling or tripling or four times ..... not increasing by +c
708
views
0 answers
2 votes
smsubham asked Dec 25, 2017
708 views
Which of the following are correct for Minimum Spanning Tree from graph G with unique weights, with the weight function w: E→R (more than one possible) ... number MST will remain unchanged. (answer for both positive and negative values)
475
views
0 answers
2 votes
Dulqar asked Jan 26, 2017
475 views
Show the different minimum spanning Trees Possible in each of the following AlgorithmsPrims AlgorithmKruskal