摘要: Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical a 阅读全文
posted @ 2016-03-16 22:25 YuriFLAG 阅读(123) 评论(0) 推荐(0)
摘要: Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree is symmetric: 1 / \ 2 2 / 阅读全文
posted @ 2016-03-16 08:20 YuriFLAG 阅读(177) 评论(0) 推荐(0)