Frage im Vorstellungsgespräch bei National Instruments

find average of binary tree, write out exact code