DEFAULT_INITIAL_CAPACITY = 16 Node数组的默认长度 MAXIMUM_CAPACITY = 1073741824 Node数组的最大长度 DEFAULT_LOAD_FACTOR = 0.75F 负载因子,调控控件与冲突率的因数 TREEIFY_THRESHOLD = 8 ...
分类:
其他好文 时间:
2016-10-25 16:49:58
阅读次数:
219
<!doctype html> <html> <head> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"> <meta charset ...
分类:
其他好文 时间:
2016-10-25 07:47:53
阅读次数:
228
We have a lot of ways to solve the maximum subsequence sum problem, but different ways take different time. 1、Brute-force algorithm 2、a little imporve ...
分类:
其他好文 时间:
2016-10-24 23:15:06
阅读次数:
295
题目: Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique lo ...
分类:
其他好文 时间:
2016-10-24 21:03:27
阅读次数:
208
<!DOCTYPE><html><head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1. ...
分类:
微信 时间:
2016-10-24 20:17:43
阅读次数:
347
-------------------------------- 递归遍历即可 AC代码: /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNod... ...
分类:
其他好文 时间:
2016-10-24 07:41:45
阅读次数:
161
Given a non-empty array of numbers, a0, a1, a2, … , an-1, where 0 ≤ ai < 231. Find the maximum result of ai XOR aj, where 0 ≤ i, j < n. Could you do t ...
分类:
其他好文 时间:
2016-10-24 02:00:19
阅读次数:
192
第一章,控制html字体大小 1.1使用媒体查询,不同分辨率设置不同的html的font-size @(min-width:320px){ html{font-size:10px;} } @(min-width:360px){ html{font-size:11.25px;} } @(min-wid ...
分类:
移动开发 时间:
2016-10-23 20:21:26
阅读次数:
203
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> 1. wi ...
分类:
其他好文 时间:
2016-10-23 17:22:31
阅读次数:
245
这道题目mock没有通过。超时了。。。。。。 原来题目解法的思路非常非常好! 原来做过的记录 ...
分类:
其他好文 时间:
2016-10-23 15:03:23
阅读次数:
224