You are viewing a single comment's thread. Return to all comments →
Agreed, with the sole proviso that the node you choose under the assumption of the problem statement is actually a root.
"The answer will always be the same assuming there are no edges that result in ties." There is no need for that assumption.
Seems like cookies are disabled on this browser, please enable them to open this website
Cut the Tree
You are viewing a single comment's thread. Return to all comments →
Agreed, with the sole proviso that the node you choose under the assumption of the problem statement is actually a root.
"The answer will always be the same assuming there are no edges that result in ties." There is no need for that assumption.