【题目】
Given a binary tree, determine if it is a valid binary search tree (BST).
Assume a BST is defined as follows:
The left subtree of a node contains only nodes with keys less than the node's key.
The right subtree of a node contains only nodes with ke...
分类:
其他好文 时间:
2014-06-02 10:29:55
阅读次数:
257
Initialization comes after Class loading.
分类:
其他好文 时间:
2014-06-02 07:58:13
阅读次数:
156
感觉不会再爱了,呜呜!A题原来HACK这么多!很多人跟我一样掉坑了!If there is some
choice whose description at least twice shorter than all other descriptions, or
at least twice long...
分类:
其他好文 时间:
2014-06-02 06:33:26
阅读次数:
238
简单说来,可以这样理解:一、解释VCC:C=circuit表示电路的意思,即接入电路的电压;电源电压(双极器件);电源电压(74系列数字电路);声控载波(VoiceControlledCarrier)
VDD:D=device表示器件的意思,即器件内部的工作电压; 电源电压(单极器件);电源电压(4...
分类:
其他好文 时间:
2014-06-02 05:38:26
阅读次数:
212
问题:
Write a program to solve a Sudoku puzzle by filling the empty cells.
Empty cells are indicated by the character '.'.
You may assume that there will be only one unique solution.
...
分类:
其他好文 时间:
2014-06-02 05:25:23
阅读次数:
295
在整理Java LockSupport.park()的东东,看到了个"Spurious wakeup",重新梳理下。
首先来个《UNIX环境高级编程》里的例子:
#include
struct msg {
struct msg *m_next;
/* ... more stuff here ... */
};
struct msg *workq;
pthread_cond_t qread...
分类:
其他好文 时间:
2014-06-02 04:45:19
阅读次数:
267
今天建库的时候忽然报错ORA-00600:internalerrorcode,arguments:[keltnfy-ldmInit],[46],[1],[],[],[],[],[]梗是让我无语,没办法只好检查参数配置,按照文档一步步检查,最后检查了下profile文件的配置
[root@servU_01db_1]#more/home/oracle/.bash_profile
#.bash_profile
#..
分类:
其他好文 时间:
2014-06-02 04:12:51
阅读次数:
320
连接数据库报错
[oracle@tips~]$sqlplus/assysdba
SQL*Plus:Release11.2.0.3.0ProductiononFriJun2918:44:032012
Copyright(c)1982,2011,Oracle.Allrightsreserved.
ERROR:
ORA-09817:Writetoauditfilefailed.
Linux-x86_64Error:28:Nospaceleftondevice
Additionalinforma..
分类:
系统相关 时间:
2014-06-02 04:12:14
阅读次数:
915
LINUX11GRACASM磁盘组在线增加磁盘扩容
1.操作系统版本OEL6.1
[root@cqltjcpt1~]#more/etc/redhat-release
RedHatEnterpriseLinuxServerrelease6.1(Santiago)
2.数据库版本oracle11grac
SQL>select*fromv$version;
BANNER
--------------------------------------------..
分类:
系统相关 时间:
2014-06-02 03:51:08
阅读次数:
428
-bash:warning:setlocale:LC_CTYPE:cannotchangelocale(EN_US.UTF-8)
把linux系统从中文设置英文字符集后发生以下报错
首先本系统字符集为中文UTF-8
[root@localhost~]#more/etc/sysconfig/i18n
LANG="zh_CN.UTF-8"
修改为英文UTF-8
[root@localhost~]#vim/etc/sysconfig/i..
分类:
其他好文 时间:
2014-06-02 03:24:48
阅读次数:
331