Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon... ...
分类:
其他好文 时间:
2016-12-07 23:37:52
阅读次数:
242
题目描述 The cows have opened a new business, and Farmer John wants to see how well they are doing. The business has been running for N (1 <= N <= 100,000 ...
分类:
其他好文 时间:
2016-12-04 19:46:57
阅读次数:
274
Given a non-negative number represented as a singly linked list of digits, plus one to the number. The digits are stored such that the most significan ...
分类:
其他好文 时间:
2016-12-03 15:10:46
阅读次数:
219
Solution 1: Bit Manipulation use Integer.bitCount() Solution 2: Backtracking, 非常精妙之处在于用了两个数组来帮助generate digit(例如:1011 -> 11) ...
分类:
其他好文 时间:
2016-12-02 08:02:59
阅读次数:
250
500个英语常用表达1. a big headache令人头痛的事情2. a fraction of 一部分3. a matter of concern 焦点4. a series of 一系列,一连串above all 首先,尤其是5. absent from不在,缺席6. abundant in ...
分类:
其他好文 时间:
2016-12-01 14:40:14
阅读次数:
254
JSON can only represent a subset of the types supported by BSON. To preserve type information, MongoDB adds the following extensions to the JSON forma ...
分类:
数据库 时间:
2016-11-30 22:05:47
阅读次数:
293
题目: A binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom represent the minutes (0-59). Each LED represe ...
分类:
编程语言 时间:
2016-11-29 23:02:49
阅读次数:
175
O(N^2)解法: DP dp[i] represent the maximum product of breaking up integer i O(N)解法: the best factor is 3. we keep breaking n into 3's until n gets small ...
分类:
其他好文 时间:
2016-11-24 09:29:32
阅读次数:
202
JNI使用的是改良的UTF-8格式的Strings。 以下文档来自官方: Modified UTF-8 Strings The JNI uses modified UTF-8 strings to represent various string types. Modified UTF-8 stri ...
分类:
其他好文 时间:
2016-11-24 08:04:58
阅读次数:
376