spanning-tree Questions
6
I was reading up algorithms for finding the minimum spanning tree(in case of weighted graphs) and for finding if a graph has a hamiltonian path(which depends on the presence of a hamiltonian cycle)...
Ibarra asked 23/7, 2011 at 13:42
2
Solved
What's the difference between a Spanning Tree and a Spanning Forest in graphs, conceptually.
Also, is it possible to construct a Spanning Forest through DFS or BFS traversals? Why? How?
I underst...
Hordein asked 6/4, 2017 at 10:31
2
Solved
Suppose if all the edges have positive Weights the minimum product spanning tree can be obtained by taking the log of every edge and then apply Kruskal or Prim. But if some weights are negative, we...
Bledsoe asked 12/5, 2017 at 7:19
3
Is there an algorithm to find a spanning tree of an undirected graph which minimizes the number of vertices connected to more than one edge?
For example, given a 4 x 4 grid graph, we want to find ...
Baluster asked 25/7, 2015 at 3:37
2
Solved
A minimum bottleneck spanning tree of a weighted graph G is a spanning tree of G such that minimizes the maximum weight of any edge in the spanning tree. A MBST is not necessarily a MST (minimum sp...
Wapentake asked 12/1, 2013 at 20:2
1
Solved
I have an undirected connected graph with unweighted edges. How can I build a spanning tree (the solution might not be unique) such that the sum of depths of all nodes is minimized? This is obvious...
Featherston asked 21/2, 2013 at 18:32
2
Solved
I don't want to find all the minimum spanning trees but I want to know how many of them are there, here is the method I considered:
Find one minimum spanning tree using prim's or kruskal's algori...
Dardanelles asked 13/12, 2012 at 5:53
6
Solved
I came across this question from interviewstreet.com
Machines have once again attacked the kingdom of Xions. The kingdom
of Xions has N cities and N-1 bidirectional roads. The road network is
...
Platysma asked 4/5, 2012 at 5:55
1
© 2022 - 2024 — McMap. All rights reserved.