Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is formed from the orig...
分类:
其他好文 时间:
2014-07-06 16:01:23
阅读次数:
203
Divide an array into the maximum number of same((-))sized blocks, each of which should contain an index P such that A[P - 1] A[P + 1].
分类:
其他好文 时间:
2014-07-06 15:30:31
阅读次数:
465
Find the maximum number of flags that can be set on mountain peaks.
分类:
其他好文 时间:
2014-07-06 15:07:09
阅读次数:
371
---问题select owner,index_name,DEGREE from DBA_INDEXES where DEGREE>1 *ERROR at line 1:ORA-01722: invalid number--1 获取运行跟踪信息SQ...
分类:
其他好文 时间:
2014-07-06 13:41:04
阅读次数:
278
1. [代码]方法代码 function cp(source, target) { function isBaseType(v) { var type = typeof v; var basetype = { "string": true, "number": t...
分类:
编程语言 时间:
2014-07-06 13:29:36
阅读次数:
270
/****************************************************************** find the biggest x number in a sequence* the basic method is the same as the Quic....
分类:
其他好文 时间:
2014-07-06 13:12:01
阅读次数:
176
Description
Consider an infinite full binary search tree (see the figure below), the numbers in the nodes are 1, 2, 3, .... In a subtree whose root node is X, we can get the minimum number in this ...
分类:
其他好文 时间:
2014-07-06 11:36:14
阅读次数:
284
;; Fermat's Little Theorem:
;; If N is a prime number and A is any positive integer less
;; than N, then A raised to the N-th power is congruent to A modulo N
;; Two numbers are said to be congruent...
分类:
其他好文 时间:
2014-07-06 09:05:22
阅读次数:
158
接上一篇,在搞定SCN问题后,又遇到ORA-600[4194]/[4193]报错。
故障现象:
OPEN数据库时报错:ORA-00600: internal error code, arguments: [4194], [], [], [], [], [], [], []
4193:表示undo和redo不一致(Arg [a] Undo record seq number,Arg...
分类:
其他好文 时间:
2014-07-06 00:38:31
阅读次数:
297
思路一:1、准备表结构及对应的表数据a、表结构:create table TB_TREE(CID NUMBER not null,CNAME VARCHAR2(50),PID NUMBER //父节点)b、表数据:insert into tb_tree (CID, CNAME, PID) value...
分类:
编程语言 时间:
2014-07-05 20:54:07
阅读次数:
396