Pregunta de entrevista de National Instruments

Binary tree average without recursion