S
S
SarpedonS2015-04-25 20:26:49
Counts
SarpedonS, 2015-04-25 20:26:49

How to make from graph->tree?

Condition:
It is known that the given graph is not a tree. Check if it is possible to remove one vertex from it (together with the edges incident to it) so that the result is a tree.
How to write this function in c++?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mamkaololosha, 2015-04-25
@mamkaololosha

en.wikipedia.org/wiki/Minimum_spanning_tree

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question