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
相關文章
相關標籤/搜索