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 an...
分类:
其他好文 时间:
2014-06-04 18:37:18
阅读次数:
277
1.onItemLongClick和onItemClick事件截取当须要同一时候获得一个listview的条目长按事件(onItemLongClick)和点击事件(onItemClick)时,仅仅须要在onItemLongClick事件触发函数中,return
true就可以。2.自己定义Check...
分类:
移动开发 时间:
2014-06-03 06:27:33
阅读次数:
325
【题目】
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 and the nodes have the same value.
【题意】
判断了两个二叉树是否相等
【思路】
递归...
分类:
其他好文 时间:
2014-06-02 11:03:03
阅读次数:
205
【题目】
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
/ \ / 3 4 4 3
But the following is not:
1
/ 2 2
\ 3 3
No...
分类:
其他好文 时间:
2014-06-02 10:56:14
阅读次数:
237
check_lock.sql脚本
列出对象锁(lock)信息及其被杀的会话(sid,serial#)信息
setlinesize132pagesize66
breakonKillonusernameonterminal
columnKillheading‘KillString‘formata13
columnresheading‘ResourceType‘format999
columnid1format9999990
columnid2format999999..
分类:
其他好文 时间:
2014-06-02 04:11:00
阅读次数:
248
Caused by: java.sql.SQLException: You have an error
in your SQL syntax; check the manual that corresponds to your MySQL server
version for the right s...
分类:
数据库 时间:
2014-06-01 11:31:29
阅读次数:
371
从3月底开始申请,整理J1的材料,一直到现在VISA的status变成了issued,中间被check了20多天,终于快要可以去silicon
valley了。废话不多说,J1签证很easy,不要有任何担心。直接上J1办理流程:1. 联系学校,拿到DS2019表、financial support
...
分类:
其他好文 时间:
2014-05-31 18:41:23
阅读次数:
279
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-05-30 16:13:38
阅读次数:
334
安装时遇到了2个问题,特此记录下。问题1:Publickeyfor*.rpmisnotinstalled解决方法:在repo文件中加上"gpgcheck=0",默认没有这一项,看来系统默认是要check的,这个还是头一次知道。问题2:./configure:
error: the HTTP rewr...
分类:
其他好文 时间:
2014-05-29 18:06:50
阅读次数:
225
Original link: How to check if Directory
already Exists in MFC(VC++)?MSDN Links:CreateDirectory functionGetFileAttributes
functionGetLastError functio...
分类:
其他好文 时间:
2014-05-29 17:49:25
阅读次数:
371