LeetCode: 637 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 阅读全文
posted @ 2017-08-24 22:38 玲珑子 阅读(116) 评论(0) 推荐(0) 编辑