Domanda di colloquio di National Instruments

add up nodes in a binary tree and find average