Amazon Interview Question

Diameter of a binary tree