Farthest Nodes in a Tree

LightOJ - 1094