Domanda di colloquio di National Instruments

Find the average value in a binary tree on ints.