leetcode-tree
永不_言败
这个作者很懒,什么都没留下…
展开
-
【leetcode】Tree——Binary Tree Level Order Traversal(102)
题目: Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example: Given binary tree [3,9,20,null,null,15,7], 3 / \ 9原创 2016-08-21 16:54:21 · 281 阅读 · 0 评论 -
【leetcode】Tree——Symmetric Tree(101)
题目: Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmetric: 1 / \ 2 2 / \ / \ 3原创 2016-09-17 11:42:15 · 311 阅读 · 0 评论