题目 题目描述 To avoid unsightly burns while tanning, each of the C (1 ≤ C ≤ 2500) cows must cover her hide with sunscreen when they're at the beach. Cow i ...
分类:
其他好文 时间:
2018-03-04 14:37:41
阅读次数:
130
移动端常用的几个meta 设置文档的字符编码格式 <meta charset="UTF-8"> IE 以最新的内核渲染页面 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 视口为设备的宽 显示比例1:1 禁止用户缩放 <m ...
分类:
移动开发 时间:
2018-03-03 22:27:41
阅读次数:
262
Given two strings a and b of equal length, what's the longest string (s) that can be constructed such that it is a child of both? A string x is said t ...
分类:
其他好文 时间:
2018-03-03 15:35:42
阅读次数:
179
Given a 2D grid, each cell is either a wall 'W', an enemy 'E' or empty '0' (the number zero), return the maximum enemies you can kill using one bomb.T ...
分类:
其他好文 时间:
2018-03-02 10:23:31
阅读次数:
219
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 longes ...
分类:
其他好文 时间:
2018-03-01 17:06:59
阅读次数:
169
链路:2个相邻节点之间的物理线路 数据链路:实现协议的硬件、软件 + 链路 数据链路层3个基本问题 封装成帧 MTU(Maximum Transfer Unit)最大传输单元 透明传输 差错控制 CRC(Cyclic Redundancy Check)循环冗余校验 PPP(Point-to-Poin ...
分类:
其他好文 时间:
2018-03-01 11:43:15
阅读次数:
136
懒加载 lazyload(延迟加载) 主标题列表二级... ...
分类:
其他好文 时间:
2018-02-27 19:24:39
阅读次数:
278
https://leetcode.com/problems/maximum-depth-of-binary-tree/description/Given a binary tree, find its maximum depth.The maximum depth is the number of ... ...
分类:
其他好文 时间:
2018-02-27 10:23:20
阅读次数:
189
A string t is called nice if a string "2017" occurs in t as a subsequence but a string "2016" doesn't occur in t as a subsequence. For example, string ...
分类:
其他好文 时间:
2018-02-26 20:40:43
阅读次数:
436
1、个人总结及想法: (1)1.8相比较于1.7的变化? HashMap的底层数据结构大家应该都比较清楚了,就是数组+链表,链表主要用来解决hash冲突,使用了链地址法的方式来解决,1.8的改动主要就是hash冲突时候,一是在进行链表插入时由1.7的头插法变成了尾插法,第二个原来链表是一个单链表,但 ...
分类:
其他好文 时间:
2018-02-26 17:36:04
阅读次数:
172