[LeetCode] Average of Levels in Binary Tree 二叉树的层平均值

Given a non-empty binary tree, return the average value of the nodes on each level in the form of an array. Example 1: Input: 3 / \ 9 20 / \ 15 7 Outp
posted @ 2017-07-30 15:08  Grandyang  阅读(5395)  评论(0)    收藏  举报
Fork me on GitHub