Pergunta de entrevista da empresa National Instruments

Find average value of all the values in BST?

Resposta da entrevista

Sigiloso

13 de out. de 2011

Do pre-order traversal and update counter and sum variables as traverse down the tree. Return (sum/counter) as a double type.