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!
CodeChef Starters 134 Solution Discussion