Similar with "Longest Consecutive Sequence". Another usage to hashset.Take care of corner cases!class Solution {public: int firstMissingPositive(in...
分类:
其他好文 时间:
2014-07-28 15:16:43
阅读次数:
206
1: semantics 语义一:Introduction 1. Changes form IPv6 to IPv6. 1) Expanded Addressing Capabilities 32 bits to 128 bits to support a) more l...
分类:
其他好文 时间:
2014-07-28 14:56:23
阅读次数:
253
需要手动加载 fbcon 这个模块,或者编译内核的时候,Framebuffer Console support 编译进内核(后者没测试过)。加在模块只要修改/etc/default/grub文件或者/boot/grub/grub.cfg文件,添加”vga=0x0314 fb:on“。修改/etc/d...
分类:
其他好文 时间:
2014-07-28 13:47:00
阅读次数:
225
效果如下:
DrawerLayout来自support.v4包,所以不用考虑兼容性问题。其次,这种布局类似风靡一时的侧滑菜单,但是比侧滑菜单轻巧许多。
下面介绍这种布局的使用方式。
1.在你的项目中导入support.v4包。
2.编辑一个布局,根节点为android.support.v4.widget.DrawerLayout,此节点下只允许有两个子节点,第一个为...
分类:
移动开发 时间:
2014-07-28 00:11:19
阅读次数:
400
Description
Mr.Dog was fired by his company. In order to support his family, he must find a new job as soon as possible. Nowadays, It's hard to have a job, since there are swelling numbers of the...
分类:
其他好文 时间:
2014-07-27 23:57:39
阅读次数:
630
Forbidden(403)CSRF verification failed. Request aborted.HelpReason given for failure: CSRF token missing or incorrect. In general, this can occu...
分类:
其他好文 时间:
2014-07-27 23:20:59
阅读次数:
273
题目There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should b...
分类:
其他好文 时间:
2014-07-27 22:49:39
阅读次数:
176
打开https://pip.pypa.io/en/latest/installing.html#python-os-support下载pip-get.py进入python,执行pip-get.py安装完pip,setuptool工具。进入.python/scripts目录,执行pip install...
分类:
编程语言 时间:
2014-07-27 10:47:52
阅读次数:
254
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be ...
分类:
其他好文 时间:
2014-07-27 09:53:12
阅读次数:
350
JPush纠结了5-6个小时,一直报下面的错误,纠结![AndroidUtil] AndroidManifest.xml missing required intent filter for PushReceiver: cn.jpush.android.intent.NOTIFICATION_REC...
分类:
移动开发 时间:
2014-07-26 14:16:04
阅读次数:
517