Frage im Vorstellungsgespräch bei National Instruments

Find the average value in a binary tree on ints.