Given a set of candidate numbers (C) and a
target number (T), find all unique combinations inCwhere the candidate numbers
sums toT.Thesamerepeated num...
分类:
其他好文 时间:
2014-06-04 20:15:09
阅读次数:
289
Given a collection of candidate numbers (C) and
a target number (T), find all unique combinations inCwhere the candidate numbers
sums toT.Each number ...
分类:
其他好文 时间:
2014-06-04 20:14:25
阅读次数:
287
Given an unsorted integer array, find the first
missing positive integer.For
example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:
其他好文 时间:
2014-06-04 20:13:41
阅读次数:
350
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="ADOBECODEBA...
原题地址:https://oj.leetcode.com/problems/median-of-two-sorted-arrays/题意:There
are two sorted arrays A and B of size m and n respectively. Find the median...
分类:
编程语言 时间:
2014-06-04 18:52:31
阅读次数:
356
布了几个项目。竟然天天会自己主动的挂掉。急了。花时间攻克了一下。总结方案例如以下:1.磁盘满了。这大家都懂,清一下2.tomcat在关闭的或是重新启动的时候,经常后台进程没有被关闭。须要用ps
aux|grep java 这个命令查一下,把多余的进程关掉,再启动startup.sh3.这样的情况比較...
分类:
编程语言 时间:
2014-06-03 14:09:07
阅读次数:
404
Givens1,s2,s3, find whethers3is formed by the
interleaving ofs1ands2.For
example,Given:s1="aabcc",s2="dbbca",Whens3="aadbbcbcac", return true.Whens3="...
分类:
其他好文 时间:
2014-06-03 14:05:46
阅读次数:
177
find k missing numbers from 1 to n. (k>=1)
分类:
其他好文 时间:
2014-05-30 21:41:26
阅读次数:
593
ls -lr反向排序结果==============================ls
${PATH//:/\ } | grep ==============================echo
$RANDOM==============================[[ $# -ne 3 ...
分类:
其他好文 时间:
2014-05-30 21:35:51
阅读次数:
335
Givennpoints on a 2D plane, find the maximum
number of points that lie on the same straight line./** * Definition for a
point. * struct Point { * ...
分类:
其他好文 时间:
2014-05-30 16:27:19
阅读次数:
238