in Algorithms
347 views
0 votes
0 votes
T/F

In a graph G=(V,E) suppose that each edge e ∊ E has an integer weight w(e) such that 1<= W(e) <=n Then there is a an o(mlogn) time algorithm to find a minimum spanning tree in G.

Also,Does this "weight w(e) such that 1<= W(e) <=n"  has significance on time complexity or we consider it as some edges weights and proceed?
in Algorithms
by
347 views

1 comment

what is m here?
0
0

1 Answer

0 votes
0 votes
TRUE,

O(|W| + |E| + |V|Log|V|) OR O(|W| + |E| + |E|Log|V|)

 

(CLRS)