Distinct Subsequences
A subsequence of a given sequence is just the given sequence with some elements (possibly none) left out. Formally, given a sequence X = x1x2…xm,
another sequence Z = z1...
分类:
其他好文 时间:
2014-07-21 15:44:16
阅读次数:
244
Problem Description
Problems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for m...
分类:
其他好文 时间:
2014-07-21 11:17:56
阅读次数:
155
Problem Description
In mathematics, a subsequence is a sequence that can be derived from another sequence by deleting some elements without changing the order of the remaining elements. For example, ...
分类:
其他好文 时间:
2014-07-21 11:13:44
阅读次数:
270
题目链接 Write a function to find the longest common prefix string amongst an array of strings. 题目的意思说的不是很清楚,开始理解成了求任意两个字符串的前缀中的最长者。但是本题的意思是求所有字符串的最长公共前缀,...
分类:
其他好文 时间:
2014-07-21 09:14:25
阅读次数:
225
由于项目需要root安装软件,并且希望在合适的时候引导用户去开启root安装,故需要检测手机是否root。 最基本的判断如下,直接运行一个底层命令。(参考https://github.com/Trinea/android-common/blob/master/src/cn/trinea/androi...
分类:
移动开发 时间:
2014-07-21 09:11:11
阅读次数:
325
GAC:C:\Windows\assembly,也就是部署的位置; ISAPI位置,SharePoint API:C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI; CONTROLTEMPLAT...
分类:
其他好文 时间:
2014-07-21 08:36:47
阅读次数:
238
This week I was attending a CI training course about svn. Here I‘d like to share what I have learnt. As I am an absolutely green bird to svn, this post only covers those most common usages. (1) C...
分类:
其他好文 时间:
2014-07-20 23:33:04
阅读次数:
504
最长上升子序列问题 代码(C)本文地址: http://blog.csdn.net/caroline_wendy题目: 有一个长为n的数列a. 请求出这个序列中最长上升子序列的长度. 最长上升子序列的数字之间可以有间隔.即最长上升子序列(LIS, Longest Increasing Subsequence), 例如: n=5, a={4,2,3,1,5}, result=3(2,3,5).使用动...
分类:
其他好文 时间:
2014-07-20 22:34:43
阅读次数:
297
每一个集成环境都缺不了一个网络文件服务器,今天介绍一下,该lab-bill-davidey清单里的公共服务(common)模块vsftp服务器。vsftp#allowallftpincomingconnectionsiptables-AINPUT-ptcp--dport21-mstate--stateESTABLISHED-jACCEPTiptables-AOUTPUT-ptcp--sport21-mstate--sta..
分类:
其他好文 时间:
2014-07-20 15:45:31
阅读次数:
241
每一个集成环境都缺不了一个共享文件服务器,今天介绍一下,该lab-bill-davidey清单里的公共服务(common)模块nfs服务器。rpcbindnfsredhat6.5其他有portmapnfsvi/etc/export/local10.0.0.0/24(rw,no_root_squash,no_all_squash,sync)exportfs-viptablescat/etc/sysconfig/nfs..
分类:
其他好文 时间:
2014-07-20 15:11:31
阅读次数:
345