We are given a weighted graph with $$$N$$$ vetices and $$$M$$$ edges.
Is there any polynomial way to build spanning tree from original graph so that Mex of values on edges of ST is maximal?
Spanning tree with maximum Mex
We are given a weighted graph with $$$N$$$ vetices and $$$M$$$ edges.
Is there any polynomial way to build spanning tree from original graph so that Mex of values on edges of ST is maximal?