problem:
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], [1,2,1],
...
分类:
其他好文 时间:
2015-03-30 16:22:10
阅读次数:
108
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).
For example,
S = "ADOBECODEBANC"
T = "ABC"
Minimum window is "BAN...
题目:
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...
分类:
其他好文 时间:
2015-03-30 01:42:48
阅读次数:
149
Problem DescriptionCalculate A * B.InputEach line will contain two integers A and B. Process to end of file.Note: the length of each integer will not ...
分类:
其他好文 时间:
2015-03-29 20:59:33
阅读次数:
163
redis是什么:Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain st...
分类:
其他好文 时间:
2015-03-29 10:40:38
阅读次数:
378
我们更新了QQ sdk的新包,而QQ的新包加了一个so文件,该文件eclipse的默认检查比较严格。
Eclipse->windows->Perferences ,
取消 Force error when external jars contain native libraries.
取消 Skip packaging and dexing until export and lunch. (...
分类:
编程语言 时间:
2015-03-28 17:18:37
阅读次数:
151
A + B ProblemProblem Description CalculateA + B.InputEach line will contain two integersAandB. Process to end of file.OutputFor each case, outputA + B...
分类:
其他好文 时间:
2015-03-28 15:35:10
阅读次数:
104
1 题目:2.2.1 Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbe...
分类:
其他好文 时间:
2015-03-28 08:48:00
阅读次数:
185
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2015-03-21 21:08:04
阅读次数:
177
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2015-03-21 19:53:11
阅读次数:
151