a root tree direct acyclic graph contain node root exactly path nodeA root tree binary node outgoing arcsWhen binary tree paint plane arc direct that arc go u v meet condition yuyvYouve give coordinate tree nod your task connect nod arcs binary root tree total length arc minimum all arc build tree direct