码迷,mamicode.com
首页 >  
搜索关键字:symmetric    ( 408个结果
[leetcode] 10. Symmetric Tree
这次我觉得我的智商太低,想了很久才写出来。题目是让求镜像二叉树判断,题目如下: Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, th...
分类:其他好文   时间:2014-11-18 13:15:28    阅读次数:181
LeetCode(1) Symmetric Tree
LeetCode 算法孽我千百遍,我带算法如初恋...
分类:其他好文   时间:2014-11-17 17:52:06    阅读次数:128
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-11-17 10:34:42    阅读次数:168
覆盖equals时尊守的约定
自反性(reflexive):对于任何非null的引用X,x.equals(x)必须返回ture 对称性(symmetric):对于任何非null的引用x和y,当且仅当x.equals(y)返回为ture时,y.equals(x)必须返回为true 传递性(transitive):...
分类:其他好文   时间:2014-11-15 14:18:39    阅读次数:223
[LeetCode] 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-11-13 22:22:11    阅读次数:221
LeetCode——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-11-13 22:20:24    阅读次数:224
SMP、NUMA、MPP体系结构介绍
从系统架构来看,目前的商用服务器大体可以分为三类,即对称多处理器结构 (SMP : Symmetric Multi-Processor) ,非一致存储访问结构 (NUMA : Non-Uniform Memory Access) ,以及海量并行处理结构 (MPP : Massive Parallel...
分类:其他好文   时间:2014-11-12 19:45:42    阅读次数:303
leetcode:Symmetric Tree
给一个二叉树,判断这个树是不是镜像的(对称的)。...
分类:其他好文   时间:2014-11-09 19:35:05    阅读次数:193
Leetcode-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-11-09 06:18:31    阅读次数:179
PAT 1040 Longest Symmetric String
#include #include using namespace std;char line[1001];char line2[2003];int syslen(char str[], int start) { int len = 1; int p = start - 1; in...
分类:其他好文   时间:2014-11-07 00:52:32    阅读次数:145
408条   上一页 1 ... 32 33 34 35 36 ... 41 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!