How to Compute Average of Levels in Binary Tree? October 23, 2018 algorithms, BFS, c / c++, data structure No Comments Given a binary tree, compute the average values for the nodes on each level and return them in the form of an array. For example: Input: 3 / \ … [Continue Reading...]