Question d’entretien chez National Instruments

Compute the average value of a binary tree.