Graph Theory Problem
Given a tree with n<=2e5 nodes how do you find the nodes that are on the diameter of the tree?
Thanks!
Round 946 Div 3 Solution Discussion (with myself)