Domanda di colloquio di National Instruments

Compute the average value of a binary tree.