摘要: Same TreeGiven two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally ide... 阅读全文
posted @ 2014-12-01 22:57 陆草纯 阅读(4684) 评论(0) 推荐(1)
摘要: Symmetric TreeGiven a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric... 阅读全文
posted @ 2014-12-01 13:25 陆草纯 阅读(260) 评论(0) 推荐(0)