1.Missing a Javadoc comment:缺少JavaDoc注释
2.First sentence should end with a period:你的注释的第一行文字结束应该加上一个"."
3.Expected @throws tag for 'Exception':在注释中希望有@throws的说明,在方法前得注释中添加这样一行:* @throws Exception if...
分类:
移动开发 时间:
2015-02-12 09:16:19
阅读次数:
204
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:
其他好文 时间:
2015-02-11 12:40:01
阅读次数:
96
http://www.queness.com/post/9806/5-missing-javascript-number-format-functions这篇文章介绍5种常用的数字转换格式 但是里面有一个小小的不好的编程习惯 就是在把数字转成字符串的时候 使用了 var s = new String...
分类:
其他好文 时间:
2015-02-10 23:03:10
阅读次数:
246
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:
其他好文 时间:
2015-02-10 14:55:06
阅读次数:
155
#define SQLITE_OK 0 /* 成功 | Successful result *//* 错误码开始 */#define SQLITE_ERROR 1 /* SQL错误 或 丢失数据库 | SQL error or missing databas...
分类:
数据库 时间:
2015-02-10 11:11:06
阅读次数:
205
leveldb是google开源的nosql数据库,被很多人推荐,因为良好的C 代码格式,咱们试图来分析一下吧
从github下载源码,代码量不是很大,而且目录结构也很清晰,咱们先写一下入门程序,来熟悉一下基本用法
leveldb::DB* db;
leveldb::Options options;
options.create_if_missing = true;
leveldb::Status...
分类:
数据库 时间:
2015-02-09 18:20:49
阅读次数:
206
题目链接:First Missing Positive
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...
分类:
其他好文 时间:
2015-02-09 00:48:51
阅读次数:
143
Given a sorted integer array where the range of elements are [lower,upper] inclusive, return its missing ranges.For example, given[0, 1, 3, 50, 75],lo...
分类:
其他好文 时间:
2015-02-08 23:10:57
阅读次数:
290
Missing number
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 430 Accepted Submission(s): 233
Problem Description
There is a pe...
分类:
其他好文 时间:
2015-02-08 09:06:39
阅读次数:
164
题目要求:First Missing PositiveGiven an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]retur...
分类:
其他好文 时间:
2015-02-07 21:36:58
阅读次数:
178