Amazon interview question

Diameter of a binary tree