Given an unsorted array of integers, find the length of longest increasing subsequence. For example,Given [10, 9, 2, 5, 3, 7, 101, 18],The longest inc ...
分类:
其他好文 时间:
2016-12-17 07:41:35
阅读次数:
129
Zookeeper是Hadoop HA环境的基石,复杂之处是部署Zookeeper开机自动启动 ...
分类:
其他好文 时间:
2016-12-17 02:54:11
阅读次数:
213
In the computer world, use restricted resource you have to generate maximum benefit is what we always want to pursue. For now, suppose you are a domin ...
分类:
其他好文 时间:
2016-12-17 01:55:20
阅读次数:
179
我自己的backtracking做法 最开始把cur设置为一个dummy value 0 最好的DFS with Optimization beat 97%: https://discuss.leetcode.com/topic/46260/java-dfs-solution-with-clear- ...
分类:
移动开发 时间:
2016-12-16 07:49:21
阅读次数:
302
提要:下载:http://www.bootcss.com/ 是boot的官网,文档是英文的 中文的官方网站:v3.bootcss.com 将来会不断更新,目前是3版 一.下载步骤: 具体详情请参考上面网站,其会提示具体怎么使用,在这就简单一说,大概就是以下这样的方法 共勉 ...
分类:
其他好文 时间:
2016-12-14 09:28:37
阅读次数:
171
Q: Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique lon... ...
分类:
其他好文 时间:
2016-12-13 08:08:14
阅读次数:
143
二狗在最近的项目以html5和webapp为主,并接触到了input新增type值的使用,下面就把这些玩意一一以实例列举出来 一:type = date:定义日期:年-月-日 input type="date"可以获取年月日的值,也可以给它的value设置自定义的值哦。 注意:如果你想给input设 ...
分类:
Web程序 时间:
2016-12-12 17:17:24
阅读次数:
206
1--创建LVM分区 方法和创建其他一般分区的方式是一样的,区别仅仅是LVM的分区类型为8e. 查看已有分区 使用fdisk创建分区,根据设备文件的绝对路径(/dev/)进入分区管理 fdisk /dev/sdb [root@test149 ~]# fdisk /dev/sdb WARNING: D ...
分类:
系统相关 时间:
2016-12-12 07:47:17
阅读次数:
398
参考了https://discuss.leetcode.com/topic/67413/detailed-explanation-for-java-o-n-2-solution 这道题DP思路还是能想出来,Time O(N^2), Space O(N^2) T(i, d), which denote ...
分类:
其他好文 时间:
2016-12-12 07:40:11
阅读次数:
320