Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question