Intel Corporation interview question

Diameter of a binary tree.