Question 1:Given an array of integers, find two
numbers such that they add up to a specific target number.The function twoSum
should return indices of...
分类:
其他好文 时间:
2014-05-19 09:35:41
阅读次数:
321
当用户触摸屏幕的时候,会产生许多手势,例如down,up,scroll,filing等等,我们知道View类有个View.OnTouchListener接口,通过重写他的onTouch(Viewv,MotionEventevent)方法,我们可以处理一些touch事件,但是这个方法太过简单,如果.....
分类:
其他好文 时间:
2014-05-19 08:46:19
阅读次数:
256
Problem Description
GG is some what afraid of his MM. Once his MM asks, he will always try his best to rush to their home.
Obvious, he can run home in straight line directly. Alternatively, he ca...
分类:
其他好文 时间:
2014-05-18 07:28:10
阅读次数:
268
事件系统组成元素:
1. 每一个事件被包装为一个MotionEvent
2. 描述一个事件的位置(location)
--ACTION_DOWN
--ACTION_UP
--ACTION_MOVE
--ACTION_POINTER_DOWN
--ACTION_POINTER_UP
--ACTION_CANCEL
3.事件的元数...
分类:
其他好文 时间:
2014-05-18 06:34:46
阅读次数:
264
Treasure Hunt IV
Time Limit: 2 Seconds Memory Limit: 65536 KB
Alice is exploring the wonderland, suddenly she fell into a hole, when she woke up, she found there are b - a + 1 treasures...
分类:
其他好文 时间:
2014-05-18 04:09:03
阅读次数:
248
1、
??
Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below...
分类:
其他好文 时间:
2014-05-18 03:25:06
阅读次数:
301
TopicsIntroduction (starting with old
devices)How to handle a new FirmwareHow to set up your Mac and Device for Vuln
Research/Exploit DevelopmentHow t...
分类:
其他好文 时间:
2014-05-16 00:20:17
阅读次数:
410
1、简介 2、安装 3、配置 4、使用 5、补充说明 参考资料:
http://yufenfei.iteye.com/blog/1750124 1、简介 EGit就是一款Eclipse上的Git插件。 2、安装
EGit插件地址:http://download.eclipse.org/egit/up...
分类:
系统相关 时间:
2014-05-15 22:00:14
阅读次数:
644
宿主机mac os无法连接到虚拟机centos
虚拟机通过vagrant up启动
有做端口映射
开启局域网访问...
分类:
其他好文 时间:
2014-05-15 19:40:30
阅读次数:
227
题目描述Farmer John wants to set up a telephone line at
his farm. Unfortunately, the phone company is uncooperative, so he needs to pay
for some of the ca...
分类:
其他好文 时间:
2014-05-15 18:03:37
阅读次数:
292