我做的操作是每五分钟系统自动做一次批量操作。批量操作的内容为2万条,但是每次查看数据库时候都没有操作两万条数据而只有3000条。后来看了一下错误日志ORA-01000: maximum open cursors exceeded;查看了一下数据库游标参数设置show parameter open_c...
分类:
其他好文 时间:
2015-05-14 11:32:38
阅读次数:
151
Maximum Depth of Binary Tree
Total Accepted: 63668 Total Submissions: 141121 My Submissions
Question Solution Given a binary tree, find its maximum depth.The maximum depth is the number of nodes...
分类:
其他好文 时间:
2015-05-13 23:19:39
阅读次数:
302
Given a binary tree, find its maximum depth.
The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node./**
* Definition for binary tree
* stru...
分类:
其他好文 时间:
2015-05-13 19:42:48
阅读次数:
143
Given an unsorted array, find the maximum difference between the successive elements in its sorted form.Try to solve it in linear time/space.Return 0 ...
分类:
其他好文 时间:
2015-05-13 12:14:11
阅读次数:
107
Longest Palindromic SubstringGiven a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substrin...
分类:
其他好文 时间:
2015-05-12 23:09:34
阅读次数:
163
代码:/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : va...
分类:
其他好文 时间:
2015-05-12 00:00:59
阅读次数:
140
链接:点我 1 /* 2 * POJ 3693 Maximum repetition substring 3 * 先穷举长度L,然后求长度为L的子串最多能连续出现多少次 4 * 既然长度为L的串重复出现,那么str[0],str[l],str[2*l]……中肯定有两个连续的出现在字符串...
分类:
编程语言 时间:
2015-05-11 12:50:50
阅读次数:
169
题目来自于LeetCode
https://leetcode.com/problems/binary-tree-maximum-path-sum/
Binary Tree Maximum Path Sum
Total Accepted: 37936 Total
Submissions: 178064My Submissions
Question
Solutio...
分类:
其他好文 时间:
2015-05-11 00:05:34
阅读次数:
125
I treated it too difficult.. nothing special, just some optimization mentioned as:http://saraguru.weebly.com/how-i-solved/find-maximum-index-product-h...
分类:
其他好文 时间:
2015-05-10 15:34:33
阅读次数:
178