Domanda di colloquio di National Instruments

Find average of a binary tree.