3Sum ClosestGiven an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, target. Return the sum of the three int...
分类:
其他好文 时间:
2014-12-06 20:20:24
阅读次数:
153
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:
其他好文 时间:
2014-12-06 16:46:02
阅读次数:
202
Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the array[2,3,-2,4],the...
分类:
其他好文 时间:
2014-12-06 15:19:13
阅读次数:
199
TOYS
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 10848
Accepted: 5206
Description
Calculate the number of toys that land in each bin of a partitioned...
分类:
其他好文 时间:
2014-12-06 14:09:23
阅读次数:
214
用来监视磁盘I/O使用状况的top类工具。iotop具有与top相似的UI,其中包括PID、用户、I/O、进程等相关信息。参数:–version 查看版本信息-h, –help 查看帮助信息-o, –only 只显示在划硬盘的程序-b, –batch 批量处理 用来记录日志-n NUM 设定循环几....
分类:
其他好文 时间:
2014-12-06 12:42:57
阅读次数:
175
compile-plugin可以设置source和target使用的jdk 版本。
mvn -v可以看出使用的jdk版本,在mac上需要修改CurrentJDK软链接
http://stackoverflow.com/questions/18813828/why-maven-use-jdk-1-6-but-my-java-version-is-1-7
http://stackover...
分类:
系统相关 时间:
2014-12-06 10:10:12
阅读次数:
169
1,文档声明 version : 必需存在的属性,表明当前xml所遵循规范的版本,目前位置都写1.0就可以了; encoding : 用来只会解析引擎在解析xml时使用的编码,一定要保证xml格式的数据在保存时使用的编码和解析时使用的编码是一致的。 standalone : 用来指明...
分类:
其他好文 时间:
2014-12-06 00:05:19
阅读次数:
188
首先,创建一个员工表,sql语句如下:
CREATE TABLE employee(
id NUMBER(4),
name VARCHAR2(20) NOT NULL,
gender CHAR(1) DEFAULT 'M',
birth DATE,
salary NUMBER(6,2),
comn NUMBER(6,2),
job VARCHAR2(30),
...
分类:
数据库 时间:
2014-12-05 22:50:16
阅读次数:
237
题目网址:https://oj.leetcode.com/problems/single-number/题目描述:Given an array of integers, every element appears twice except for one. Find that single one....
分类:
其他好文 时间:
2014-12-05 22:34:16
阅读次数:
248