The set[1,2,3,…,n]contains a total ofn! unique
permutations.By listing and labeling all of the permutations in order,We get the
following sequence (ie...
分类:
其他好文 时间:
2014-06-04 19:56:17
阅读次数:
347
RAC环境中threads变更后如何确保goldengate继续正常复制转载:http://www.easyora.net/blog/goldengate_rac_threads_remap.html
当rac节点变更的时候,比如我们添加或者删除了集群中的节点,理所当然会对节点对应的log thre...
分类:
其他好文 时间:
2014-06-04 18:56:29
阅读次数:
306
goldengate–使用filter+@GETENV在线重新初始化指定的table转载:http://www.easyora.net/blog/using_filter_getenv_function_to_initialize_special_table.html
在oracle-oracle ...
分类:
其他好文 时间:
2014-06-04 18:49:40
阅读次数:
550
算法入门经典训练指南88页练习::这道题只要把原矩阵扩大4倍,那么其跟最大子矩阵的题目就很类似,把二维转化成一维,求最大的序列和,不过这个序列的长度不能超过n。长度不能超过n?
那这道题又跟hdu 3415HDU 3415 Max Sum of Max-K-sub-sequence (单调队列) 1...
分类:
其他好文 时间:
2014-05-30 18:14:46
阅读次数:
471
Given an unsorted array of integers, find the
length of the longest consecutive elements sequence.For example,Given[100, 4,
200, 1, 3, 2],The longest ...
分类:
其他好文 时间:
2014-05-30 16:20:32
阅读次数:
229
Given a stringsand a dictionary of wordsdict,
determine ifscan be segmented into a space-separated sequence of one or more
dictionary words.For exampl...
分类:
其他好文 时间:
2014-05-30 16:09:32
阅读次数:
213
一个DBA同事昨天在执行一个命令行工具的时候发现程序hang住,问题挺有意思,值得记录下。
首先用pstack看了下程序的调用栈,这是个多线程程序,pstack结果看到几乎所有的线程都等在write调用上。如下是pt-pmp的输出结果:Tue May
27 18:30:06 CST 2014 ...
分类:
其他好文 时间:
2014-05-29 13:06:39
阅读次数:
351
1.建立一个连接需要三次握手:位码即tcp标志位,有6种标示:SYN(synchronous建立联机)
ACK(acknowledgement 确认) PSH(push传送) FIN(finish结束) RST(reset重置)
URG(urgent紧急)Sequence number(顺序号码) ...
分类:
其他好文 时间:
2014-05-29 04:17:13
阅读次数:
354
给定一个字符串满足规律 11212312345……,求其第k位的数字。算法思路:分组来看,第一组1
第二组12 第三组123 第K组[1:k]1-9组每组1位, 10-99组每组2位
依次类推。网上大部分解法,用一个数组表示到第k组时,一共需要多少位数,但这个方法需要额外的空间,而且空间大小并不是非...
分类:
其他好文 时间:
2014-05-29 02:46:29
阅读次数:
272
DescriptionGiven m sequences, each contains n
non-negative integer. Now we may select one number from each sequence to form a
sequence with m integers...
分类:
其他好文 时间:
2014-05-28 00:05:22
阅读次数:
298