二叉树
明明77
这个作者很懒,什么都没留下…
展开
-
[Leetcode] 100.Same Tree
[leetcode] 100. Same Tree题目链接:https://leetcode.com/problems/same-tree/Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are struct转载 2017-12-25 18:57:11 · 178 阅读 · 0 评论 -
[Leetcode] 101.Symmetric Tree
[leetcode] 101. Symmetric Tree题目链接:https://leetcode.com/problems/symmetric-tree/Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tr转载 2018-01-03 17:05:47 · 181 阅读 · 0 评论 -
[leetcode] 104. Maximum Depth of Binary Tree
[leetcode] 104. Maximum Depth of Binary Tree题目链接:https://leetcode.com/problems/maximum-depth-of-binary-tree/Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along th转载 2018-01-03 17:16:12 · 153 阅读 · 0 评论