问题:给一个二叉树,写一个算法判断这个树是不是balanced。Solution
#1.第一次遇到这个问题时我的解法,如下:public class Solution { public boolean isBalanced(TreeNode
root) { if(root == ...
分类:
其他好文 时间:
2014-05-05 12:50:49
阅读次数:
263
CSS清浮动:==>抄自梦想天空:http://www.cnblogs.com/lhb25/p/3674353.html上代码:所有代码访问:http://www.iyunlu.com/demo/enclosing-float-and-clearing-float/index.html
那些年我们....
分类:
Web程序 时间:
2014-05-04 20:50:29
阅读次数:
332
深刻理解Linux进程间通信(IPC) 郑彦兴
原文地址:http://www.ibm.com/developerworks/cn/linux/l-ipc/index.html
一个大型的应用系统,往往需要众多进程协作,进程(Linux进程概念见附1)间通信的重要性显而易见。本系列文章阐述了Linu...
分类:
系统相关 时间:
2014-05-04 20:27:18
阅读次数:
485
apeach 配置; ServerAdmin webrx@126.com DocumentRoot
"E:\wamp\www\yii_1113\fkgm" ServerName www.cup.com DirectoryIndex index.html
index.php ...
分类:
Web程序 时间:
2014-05-04 20:13:47
阅读次数:
331
http://www.proxmark.org/forum/index.phpRFID破解神器官方论坛http://rfidiot.org/集成RFID
ID识别/暴力破解/读写卡一身的Py包,通读官方网站所有信息会对RFID破解步骤有一个基本了解。http://www.rfdump.org/(被墙...
分类:
其他好文 时间:
2014-05-04 20:08:02
阅读次数:
384
Binary Stirling NumbersTime Limit:1000MSMemory
Limit:10000KTotal Submissions:1761Accepted:671DescriptionThe Stirling number of
the second kind S(n, m)...
分类:
其他好文 时间:
2014-05-04 19:34:32
阅读次数:
434
描述:使用Hibernate登陆验证时故意输入没有的用户名,所产生的错误。错误代码:/* *
根据客户的用户名查找客户信息 */ @Override public User getUserByUserName(String userName) {
String hql="from User ...
分类:
编程语言 时间:
2014-05-04 10:57:50
阅读次数:
372
travel the binary tree by level 2 ( from top to down )
个人信息:就读于燕大本科软件工程专业 目前大三;
本人博客:google搜索“cqs_2012”即可;
个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献;
博客内容:travel the binary tree by level 2 (...
分类:
其他好文 时间:
2014-05-04 09:27:56
阅读次数:
334
travel the binary tree by level( from top to down)
个人信息:就读于燕大本科软件工程专业 目前大三;
本人博客:google搜索“cqs_2012”即可;
个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献;
博客内容:travel the binary tree by level( from top t...
分类:
其他好文 时间:
2014-05-04 09:17:12
阅读次数:
292
travel the binary tree by level 3 ( from down to top )
个人信息:就读于燕大本科软件工程专业 目前大三;
本人博客:google搜索“cqs_2012”即可;
个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献;
博客内容:travel the binary tree by level 3 ( f...
分类:
其他好文 时间:
2014-05-04 09:00:55
阅读次数:
294