题目:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest...
分类:
其他好文 时间:
2015-05-06 17:07:28
阅读次数:
140
rman 备份时报:ORA-02396: exceeded maximum idle time參考原文:RMAN backup faling with ORA-02396: exceeded maximum idle time, please connect again (Doc ID 144618...
分类:
其他好文 时间:
2015-05-06 12:36:10
阅读次数:
154
mapred.tasktracker.map.tasks.maximum官方解释:The maximum number of map tasks that will be runsimultaneously by a task tracker.我的理解:一个tasktracker最多可以同时运行的m...
分类:
其他好文 时间:
2015-05-06 12:25:22
阅读次数:
120
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2015-05-05 23:42:33
阅读次数:
168
【题目】Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the array[2,3,-2,4]...
分类:
其他好文 时间:
2015-05-05 21:40:48
阅读次数:
137
https://leetcode.com/problems/balanced-binary-tree/https://leetcode.com/discuss/28162/java-o-n-solution-based-on-maximum-depth-of-binary-treeGiven a b...
分类:
其他好文 时间:
2015-05-05 18:52:21
阅读次数:
128
优先队列是堆排序的一个具体应用。
优先队列分为如下几个操作:
1.INSERT(S,x)把元素x插入到优先队列中。
2.MAXIMUM(S):返回s中具有最大关键字的元素。
3.EXTRACT_MAX(S):去掉S中最大关键字的元素
4.INCREASE_KEY(S,x,k):将元素x的关键字值增加到k,k是不小于x的元素。
优先队列的应用:
1.共享计算机系统的作业调度。最大优先队...
分类:
编程语言 时间:
2015-05-04 10:05:49
阅读次数:
187
RMQ(Range Minimum/Maximum Query),即区间最值查询,是指这样一个问题:对于长度为n的数列A,回答若干询问RMQ(A,i,j)(i,j#include #include #include using namespace std;const int N = 10e6+1.....
分类:
编程语言 时间:
2015-05-03 00:45:00
阅读次数:
183
12. binary search Trees The search tree data structure supports many dynamic-set operations,including search ,minimum,maximum,predecessor,successor ,i...
分类:
其他好文 时间:
2015-05-01 23:45:21
阅读次数:
263