html5移动页面自适应屏幕宽度 1.使用meta标签,在头部加入下面代码 <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user- ...
分类:
移动开发 时间:
2016-06-22 23:19:27
阅读次数:
244
Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assum ...
分类:
编程语言 时间:
2016-06-22 18:59:55
阅读次数:
200
LruCache
初始化 /**
* @param maxSize for caches that do not override {@link #sizeOf}, this is
* the maximum number of entries in the cache. For all other caches,
* this is the max...
分类:
移动开发 时间:
2016-06-22 15:53:56
阅读次数:
346
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple ...
分类:
编程语言 时间:
2016-06-21 15:35:52
阅读次数:
151
运行mvn package,报错: 解决方法: alter jvm.config in .mvn directory ( it is in controller directory ). study mvn.sh that comes with maven. you will see MAVEN_O ...
分类:
其他好文 时间:
2016-06-21 10:35:08
阅读次数:
218
集合类源码剖析hashmap初始化
默认容量DEFAULT_INITIAL_CAPACITY是16
默认负载因子DEFAULT_LOAD_FACTOR是0.75
若指定初始容量initialCapacity,如果大于MAXIMUM_CAPACITY,会重置为MAXIMUM_CAPACITY,最终的容量一般不等于initialCapacity,因为hashmap的容量一定是2的幂int capacit...
分类:
编程语言 时间:
2016-06-21 07:32:30
阅读次数:
173
PRML Study Note - Chapter 1 Summary : MLE (Maximum-likelihood Estimate) and Bayesian Approach ...
分类:
移动开发 时间:
2016-06-21 06:27:19
阅读次数:
269
Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. Formally the function should: Your algorithm ...
分类:
其他好文 时间:
2016-06-19 11:25:51
阅读次数:
149
题目: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthe ...
分类:
其他好文 时间:
2016-06-19 01:16:46
阅读次数:
158