1.TNS-00525: Insufficient privilege for operationStarted with pid=30869Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ora11g)(PORT=1521)))Err...
分类:
其他好文 时间:
2014-07-12 13:27:00
阅读次数:
187
今天开发一个功能,其操作的按钮式是一个点击的a标记,并且是动态生成的,其点击方法需要传参数具体代码如下{field:'time',title:'日程时间',width:200,align:'center'}, {field:'operation',title:'日程操作',wi...
分类:
Web程序 时间:
2014-07-11 10:28:58
阅读次数:
151
Like a string, a list is a sequence of values. In a string, the values are characters; in a list, they can be any type. The values in list are called ...
分类:
其他好文 时间:
2014-07-11 09:01:06
阅读次数:
242
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 consecutive elements sequence is [1, 2, 3...
分类:
其他好文 时间:
2014-07-11 00:51:05
阅读次数:
195
本题又是一题单调队列题解。
技巧就是需要计算好前n项和Sn = a1 + a2 + ... an
这样方便处理。
记录一条单调队列,其意义是: q(head), q(head+1), ...q(tail)
其中头q(head)代表当前最佳解的起点
这样我们只需要在求某点为结尾的S[i] - S[q(head)就得到当前最佳值。
了解了单调数列,知道其中的记录意义,那么这道题就没有难度了...
分类:
其他好文 时间:
2014-07-11 00:23:07
阅读次数:
265
1. About Sequences(关于序列)
序列是数据库对象一种。多个用户可以通过序列生成连续的数字以此来实现主键字段的自动、唯一增长,并且一个序列可为多列、多表同时使用。
序列消除了串行化并且提高了应用程序一致性。(想象一下没有序列的日子怎么办?)
2. Creating Sequences(创建序列)
前提:Prerequisites
To create a sequ...
分类:
数据库 时间:
2014-07-10 22:04:36
阅读次数:
284
Implement wildcard pattern matching with support for '?' and '*'.
'?' Matches any single character.
'*' Matches any sequence of characters (including the empty sequence).
The matching should cover t...
分类:
其他好文 时间:
2014-07-10 21:21:42
阅读次数:
255
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.
For example, given
s = "leetcode",
dict = ["leet"...
分类:
其他好文 时间:
2014-07-10 20:57:26
阅读次数:
215
Longest Ordered Subsequence
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 31787
Accepted: 13903
Description
A numeric sequence of ai is ordered if a1 a2...
分类:
其他好文 时间:
2014-07-10 20:27:45
阅读次数:
202
Description
Starting with x and repeatedly multiplying by x, we can compute x31 with thirty multiplications:
x2 = x × x, x3 = x2 × x, x4 = x3 × x, …, x31 = x30 × x.
The operation of squarin...
分类:
其他好文 时间:
2014-07-10 17:36:07
阅读次数:
202