问题描述:Given 2 sequences, X = x1,...,xm and Y = y1,...,yn, find a common subsequence whose length is maximum. Subsequence need not be consecutive, but m...
分类:
编程语言 时间:
2015-11-23 13:13:45
阅读次数:
207
Linux find 命令使用小技巧一则今天需要清理一下原来每日构建产生的一些用来存放包的目录,这些目录名字是按照一定规则存放,比如:/dailybuild/[module_name]/[yyyy]-[MM]-[dd]/xxx这里考虑仅需要保存最近5天的dailybuild,对于早于5天的目录执行删除操作。查看了一下find命令说明,可以
* 使用 “-type d” 参数来只查找目录,忽略文件。...
分类:
系统相关 时间:
2015-11-23 10:09:26
阅读次数:
195
//vars=$("#CarModeltabletr");//for(vari=1;i<s.length;i++){//$(s).eq(i).find("td").eq(1).find("input").eq(0).show();//隐藏span//$(s).eq(i).find("td").eq....
分类:
其他好文 时间:
2015-11-23 08:48:03
阅读次数:
116
LINUX常用命令(一)1、find搜索文件命令在本地文件系统中执行实时搜索,查找符合命令参数的文件。使用find命令的用户必须具有查看其内容的目录的读取和执行权限。Find————第一个参数是要搜索的目录,可以不写默认为当前目录。第二个参数为要需要匹配的条件,可以是多个。F..
分类:
系统相关 时间:
2015-11-23 06:33:47
阅读次数:
266
1.使用find命令搜索文件Find命令:在本地文件系统中实时搜索,调用命令的用户必须具有要查看其内容的目录的读取和执行权限。搜索整个系统,则用起始目录/。Find的第一个参数是要搜索的目录,若省略了搜索目录,则从当前目录开始搜索,并在任何子目录中查找匹配项。2.Find命令的..
分类:
系统相关 时间:
2015-11-23 06:31:54
阅读次数:
175
题目如下:https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/Given a binary tree, find the lowest common ancestor (LCA) of two given nod...
分类:
编程语言 时间:
2015-11-23 00:41:55
阅读次数:
238
题目:Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array.For example,Given nums = [0, 1...
分类:
其他好文 时间:
2015-11-22 21:38:11
阅读次数:
90
使用mysql数据库的函数虽然不是一两天了 ,但是很少体会到它带来的"特殊便利",这次使用颇有感触首先是一张关于user的表 表中有个字段是描述用户喜好的,这样就可以根据用户爱好,向用户推荐相似喜好的人但是数据库的设计人员设计的很不精致,他用数字123456789 代表各种兴趣 然后每个用户这个字段...
分类:
数据库 时间:
2015-11-22 18:32:28
阅读次数:
173
Blueheat Company’s production server was out of order again. The CEO was very upset and want their CIO Leo to figure out what happened. Leo asked thos...
分类:
其他好文 时间:
2015-11-22 17:27:08
阅读次数:
258
题目解析:(链接)Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in t...
分类:
其他好文 时间:
2015-11-22 17:19:38
阅读次数:
120