Question:Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?Analysis:思路一:快慢指针法。前面用到过快慢指针寻找链表的...
分类:
其他好文 时间:
2015-09-12 21:45:14
阅读次数:
109
天猫宝阿里为今年双十一推出的。双十一红包只有为天猫宝,天猫宝,余额宝的直系。余额宝的目的是让你看到你的钱up up拉动你的消费,这样阿里就会越做越大。都是用信用卡快捷支付。股市不好,钱在这里放一放,股市好的时候,这么点钱又回到股市里去了。为了让余额宝里面的钱尽可能多的在淘宝天猫上面消费,不去转出去买...
分类:
其他好文 时间:
2015-09-12 21:39:17
阅读次数:
364
### Setting up Operating SystemsOriginally we used Virtual Machines for Oracle VirtualBox with Solaris 11.0 and CentOS 6.4. Unfortunately, these versi...
分类:
其他好文 时间:
2015-09-12 20:09:02
阅读次数:
334
AngularJS之directive AngularJS是什么就不多舌了,这里简单介绍下directive。内容基本上是读书笔记,所以如果你看过《AngularJS up and running》,那么这个可以忽略。 1、在AngularJS中,directives有两个主要的类型:1??UI.....
分类:
Web程序 时间:
2015-09-11 22:07:16
阅读次数:
296
1. You enter a URL into the browser(输入一个url地址)2.The browser looks up the IP address for the domain name(浏览器查找域名的ip地址)导航的第一步是通过访问的域名找出其IP地址。DNS查找过程如下:浏...
分类:
Web程序 时间:
2015-09-11 17:18:33
阅读次数:
280
Android 的事件分发机制一、View的事件分发总结:View的onTouchEvent和OnTouch区别还是以自定义的TestButton为例。我们可以通过重写onTouchEvent方法来处理诸如down move up的消息:public class TestButton extends...
分类:
移动开发 时间:
2015-09-11 14:16:05
阅读次数:
220
用man clean allman yum,可以看到,clean选项的作用是:Is used to clean up various things which accumulate in the yumcache directory over time. More complete details ...
分类:
其他好文 时间:
2015-09-11 14:15:39
阅读次数:
126
原题: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 the two numbers such that they add up to the target, where...
分类:
其他好文 时间:
2015-09-11 12:44:49
阅读次数:
148
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i...
分类:
其他好文 时间:
2015-09-11 11:57:48
阅读次数:
149
来源于:EA 中的Interaction Operators Enterprise Architect User GuideOperatorActionaltDivide up interaction fragments based on Boolean conditions.optEnclose ...
分类:
其他好文 时间:
2015-09-11 10:22:04
阅读次数:
197