Meta interview question

Example: How to calculate the diameter of a binary tree.