题意:
There is a array contain N(1
Every query will be:
1 x : ask longest substring which every number no less than x
2 y x : change the A[y] to x. there are at most change 10 times.
For each ask...
分类:
其他好文 时间:
2015-05-16 14:52:28
阅读次数:
121
描述:
A peak element is an element that is greater than its neighbors.
Given an input array where num[i] ≠ num[i+1], find a peak element and return its index.
The array may contain multiple peaks, in that case return the index to any one of the peaks is f...
分类:
其他好文 时间:
2015-05-15 09:03:58
阅读次数:
134
Let’s consider K-based numbers, containing exactly N digits. We define a number to be valid if its K-based notation doesn’t contain two successive zeros. For example:1010230 is a valid 7-digit number;...
分类:
其他好文 时间:
2015-05-14 22:10:44
阅读次数:
191
Permutations II
Given a collection of numbers that might contain duplicates, return all possible unique permutations.
For example,
[1,1,2] have the following unique permutations:
[1,1,2...
分类:
其他好文 时间:
2015-05-13 14:49:21
阅读次数:
112
设置php server,选择Local Apache Http Server,定位到wamp/bin/apache然后输入name为apache,提示“Installation Directory does not contain Apache HTTP Server configuration.”
解决方案:定位到wamp/bin/apache下的conf 目录,即:wamp/...
分类:
Web程序 时间:
2015-05-12 15:56:09
阅读次数:
216
https://leetcode.com/problems/minimum-window-substring/Given a string S and a string T, find the minimum window in S which will contain all the charac...
Web Navigation
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 30689
Accepted: 13750
Description
Standard web browsers contain features to move backward ...
分类:
Web程序 时间:
2015-05-11 22:00:56
阅读次数:
159
Minimum Window Substring问题:Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n)...
执行Maven Install打包的时候,出现以下错误信息:[proguard] ProGuard, version 4.4
[proguard] Reading program war [F:\Workspaces\pro-test\target\pro-test-0.0.1-SNAPSHOT.war] (filtered)
[proguard] Error: The input doesn'...
分类:
编程语言 时间:
2015-05-10 15:44:14
阅读次数:
653
Variadic macros are function-like macros that contain a variable number of arguments.RemarksTo use variadic macros, the ellipsis may be specified as t...
分类:
编程语言 时间:
2015-05-09 16:18:09
阅读次数:
116