Pergunta de entrevista da empresa National Instruments

complexity of tree traversals..not very difficult