Pergunta de entrevista da empresa National Instruments

Tell us how you solve a very difficult bug. Get the average of a binary tree (efficiently).