637. Average of Levels in Binary Tree

1.问题描述 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
相关文章
相关标签/搜索