码迷,mamicode.com
首页 >  
搜索关键字:对称树    ( 23个结果
Symmetric Tree 判断对称树
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 / \ ...
分类:其他好文   时间:2014-10-26 11:37:08    阅读次数:195
leetcode-Symmetric Tree 对称树
判断一个二叉树是否是轴对称的是一个经典的算法问题,下面结合leetcode上的Symmetric Tree给出判断对称树的两种方法。       先看看问题描述: Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, t...
分类:其他好文   时间:2014-07-02 06:58:05    阅读次数:208
Leetcode:Symmetric Tree 判断对称树
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...
分类:其他好文   时间:2014-06-15 18:55:36    阅读次数:188
23条   上一页 1 2 3
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!