题目Given an unsorted integer array, find the first missing positive integer.For example,
Given [1,2,0] return 3,
and [3,4,-1,1] return 2.Your algorithm should run in O(n) time and uses constant space....
分类:
其他好文 时间:
2015-08-26 17:52:01
阅读次数:
154
题目:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space fo...
分类:
其他好文 时间:
2015-08-26 17:15:29
阅读次数:
114
一、性能监控的资源性能监控主要监控以下资源:CPU(包括应用服务器和数据库服务器) Linux——top命令 ; AIX——topas命令;MEM(内存,包括应用服务器和数据库服务器)free命令IO读写 iostat磁盘空间(Disk space) Linux下可以通过 df...
分类:
其他好文 时间:
2015-08-26 13:39:02
阅读次数:
116
常用的 Android Studio 快捷键:
Ctrl+N:查找类
Ctrl+Shift+N:查找文件
Ctrl+Alt+L :格式化代码
Ctrl+Alt+O:优化导入的类和包
Ctrl+/:注释代码 格式://代码块
Ctrl+Shift+/:注释多行代码 格式:/*代码块*/
Ctrl+Alt+Space(空格):自动补全代码
...
分类:
移动开发 时间:
2015-08-26 10:45:27
阅读次数:
155
转自:http://blog.sciencenet.cn/home.php?COLLCC=3456986939&COLLCC=3456885714&mod=space&uid=702148&do=blog&quickforward=1&id=657754%20%E5%9C%A8Mac%E4%B8%8...
分类:
系统相关 时间:
2015-08-26 01:46:52
阅读次数:
201
MyEclipse在启动Tomcat时候总是在控制台会出现如下:could not create the java virtual machineError occurred during initialization of VMCould not reserve enough space for ...
分类:
系统相关 时间:
2015-08-26 01:33:36
阅读次数:
307
bash的基础特性1、glob通配字符*多个任意字符?一个任意字符[]匹配指定范围内的任意单个字符[^]匹配范围外的任意单个字符[:lower:]小写字母#中括号为字符集的一部分,使用时还要加中括号[:upper:]大写字母[:alnum:]所有字母[:digit:]数字[:space:]空白字符[:punct:]标点符号2、..
分类:
系统相关 时间:
2015-08-26 00:05:11
阅读次数:
158
Building a Space StationTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 5912Accepted: 2935DescriptionYou are a ...
分类:
其他好文 时间:
2015-08-25 23:03:44
阅读次数:
120
== 普通的英文半角空格 == == == no-break space (普通的英文半角空格但不换行) == 中文全角空格 (一个中文宽度) == == en空格 (半个中文宽度) ...
分类:
Web程序 时间:
2015-08-25 17:12:01
阅读次数:
249
Remove Duplicates from Sorted Array
题目 考察数组
描述
Given a sorted array, remove the duplicates in place such that each element appear only
once and return the new length.
Do not allocate extra space fo...
分类:
其他好文 时间:
2015-08-25 16:53:27
阅读次数:
159