...

/

Problem Challenge 2

Problem Challenge 2

Minimum Height Trees (hard)

We are given an undirected graph that has characteristics of a k-ary tree. In such a graph, we can choose any node as the root to make a k-ary tree. ...