Amazon interview question

Given a tree, find the maximum distance between 2 leaf nodes.