Amazon Interview Question

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