码迷,mamicode.com
首页 >  
搜索关键字:find grep    ( 34568个结果
Combination Sum
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
Combination Sum II
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
First Missing Positive
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
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).For example,S="ADOBECODEBA...
分类:Windows程序   时间:2014-06-04 19:07:31    阅读次数:385
[leetcode]Median of Two Sorted Arrays @ Python
原题地址: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
java linux 项目常常无故被关闭 进程无故消息
布了几个项目。竟然天天会自己主动的挂掉。急了。花时间攻克了一下。总结方案例如以下:1.磁盘满了。这大家都懂,清一下2.tomcat在关闭的或是重新启动的时候,经常后台进程没有被关闭。须要用ps aux|grep java 这个命令查一下,把多余的进程关掉,再启动startup.sh3.这样的情况比較...
分类:编程语言   时间:2014-06-03 14:09:07    阅读次数:404
Interleaving String
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
Shell编程积累 zhuan
ls -lr反向排序结果==============================ls ${PATH//:/\ } | grep ==============================echo $RANDOM==============================[[ $# -ne 3 ...
分类:其他好文   时间:2014-05-30 21:35:51    阅读次数:335
Max Points on a Line
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!