employer cover photo
employer logo
employer logo

National Instruments

Is this your company?

National Instruments Interview Question

3. Technical question, How do you find an average of all the elements in a binary tree?

Interview Answer

Anonymous

Sep 20, 2017

1. Follow up, how do you find the average by iterating over the tree once. Describe how you would solve this problem iteratively rather than recursively.