二叉搜索树最大特征是:左边子结点的值#include #include typedef struct NODE{ NODE * pleft; NODE * pright; int ivalue;} node;/* 错误示例,实际上这个函数并没有连接起新建的结点void inser...
分类:
其他好文 时间:
2014-06-25 20:24:38
阅读次数:
192
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without using e...
分类:
其他好文 时间:
2014-06-24 23:30:08
阅读次数:
278
static void ForEachIndex()
{
int curIndex = 0;
Dictionary diction = new Dictionary();
int counter = 0;
diction.Add("One", "One");
...
分类:
其他好文 时间:
2014-06-24 23:00:13
阅读次数:
202
编辑listener.ora加上:
SID_LIST_LISTENER =
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = D:\Oracle\product\11.2.0\dbhome_1)
(SID_NAME = ORCL)
)
)...
分类:
数据库 时间:
2014-06-24 22:12:21
阅读次数:
531
【题目】
Given a binary tree, find the maximum path sum.
The path may start and end at any node in the tree.
For example:
Given the below binary tree,
1
/ 2 3
Return 6.
【题意】
给定一棵二叉树,找出其中路径和最大的路径,然会返回最大路径和。
本题中的路径不是从根节点到叶子节点这样的传统的路...
分类:
其他好文 时间:
2014-06-24 20:42:59
阅读次数:
268
3.
删除启动项:
rm -rf /etc/oracle/*
5. 删除四个文件:
rm -rf /tmp/.oracle/
rm -rf /var/tmp/.oracle/
rm -rf /usr/tmp/.oracle/
rm -rf /var/opt/oracle/
6. 删除orc.loc : rm –rf /etc/oracle/orc.loc
7. 在Universal Installer删除 crs产品。
8. 删...
分类:
其他好文 时间:
2014-06-24 20:35:17
阅读次数:
331
Copy List with Random Pointer Total Accepted: 12730 Total Submissions: 56262
My Submissions
A linked list is given such that each node contains an additional random pointer which could poi...
分类:
其他好文 时间:
2014-06-24 19:32:26
阅读次数:
194
关于RAC下spfile浅析_整理于_2014.4.17
第一篇:RAC下SPFILE文件修改
在RAC下spfile位置的修改与单节点环境不完全一致,有些地方需要特别注意,否则可能修改会失败。
下面用一个例子说明:SPFILE放在ASM中一个不正确的目录(+ARCH)中,现在想把它放在另外一个目录(+DBSYS)下。
以下是具体步骤:
1. 原spfile位置
SQ...
分类:
其他好文 时间:
2014-06-24 17:47:04
阅读次数:
228