Domanda di colloquio di Gainsight

program to find diameter of a binary tree