<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Angelof7的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/angelof7</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; angelof7]]></copyright><item><title><![CDATA[微软2016校园招聘在线笔试: [Islands Travel]]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/44878007</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/44878007</guid><author>angelof7</author><pubDate>Sat, 04 Apr 2015 23:16:32 +0800</pubDate><description><![CDATA[时间限制:10000ms
单点时限:1000ms
内存限制:256MB






描述
There are N islands on a planet whose coordinates are (X1, Y1),
 (X2, Y2), (X3,
 Y3) ..., (XN, YN).
 You starts at the 1st island (X1, Y1)
 a]]></description><category></category></item><item><title><![CDATA[HashMap的工作原理]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/44223029</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/44223029</guid><author>angelof7</author><pubDate>Thu, 12 Mar 2015 16:05:46 +0800</pubDate><description><![CDATA[HashMap的工作原理是近年来常见的Java面试题。几乎每个Java程序员都知道HashMap，都知道哪里要用HashMap，知道Hashtable和HashMap之间的区别，那么为何这道面试题如此特殊呢？是因为这道题考察的深度很深。这题经常出现在高级或中高级面试中。投资银行更喜欢问这个问题，甚至会要求你实现HashMap来考察你的编程能力。ConcurrentHashMap和其它同步集合的引入]]></description><category></category></item><item><title><![CDATA[[LeetCode] Department Highest & Top 3 Salary - SQL]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/44181721</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/44181721</guid><author>angelof7</author><pubDate>Tue, 10 Mar 2015 21:56:35 +0800</pubDate><description><![CDATA[The Employee table holds all employees. Every employee has an Id, a salary, and there is also a column for the department Id.
+----+-------+--------+--------------+
| Id | Name  | Salary | Department]]></description><category></category></item><item><title><![CDATA[[LeetCode] Rank Scores - SQL]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/44181011</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/44181011</guid><author>angelof7</author><pubDate>Tue, 10 Mar 2015 21:18:19 +0800</pubDate><description><![CDATA[Write a SQL query to rank scores. If there is a tie between two scores, both should have the same ranking. Note that after a tie, the next ranking number should be the next consecutive integer value. ]]></description><category></category></item><item><title><![CDATA[[LeetCode] Consecutive Numbers - SQL]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/44180405</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/44180405</guid><author>angelof7</author><pubDate>Tue, 10 Mar 2015 20:38:50 +0800</pubDate><description><![CDATA[Write a SQL query to find all numbers that appear at least three times consecutively.
+----+-----+
| Id | Num |
+----+-----+
| 1  |  1  |
| 2  |  1  |
| 3  |  1  |
| 4  |  2  |
| 5  |  1  |
| 6  |  2]]></description><category></category></item><item><title><![CDATA[[LeetCode] Minimum Window Substring]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/44173135</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/44173135</guid><author>angelof7</author><pubDate>Tue, 10 Mar 2015 11:30:41 +0800</pubDate><description><![CDATA[Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).

For example,
S = "ADOBECODEBANC"
T = "ABC"

Minimum window is "BANC"]]></description><category></category></item><item><title><![CDATA[8张图理解Java]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/44161077</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/44161077</guid><author>angelof7</author><pubDate>Mon, 09 Mar 2015 21:55:39 +0800</pubDate><description><![CDATA[1. 字符串不变性


Here are a set of diagrams to illustrate Java String's immutability.

1. Declare a string
String s = "abcd";
s stores the reference of the string object. The arrow below should be i]]></description><category></category></item><item><title><![CDATA[Linux升级Python]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/43308285</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/43308285</guid><author>angelof7</author><pubDate>Fri, 30 Jan 2015 16:09:21 +0800</pubDate><description><![CDATA[1。下载python3.3安装包：wget http://www.python.org/ftp/python/3.4.2/Python-3.4.2.tgz 

2。解压安装包：tar -zxvf Python-3.4.2.tgz 
　　 

3。进入解压后目录：cd Python-3.4.2 


4。创建安装目录：mkdir /usr/local/python3 
　　 
]]></description><category></category></item><item><title><![CDATA[SSH连接Linux]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/43306539</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/43306539</guid><author>angelof7</author><pubDate>Fri, 30 Jan 2015 14:09:01 +0800</pubDate><description><![CDATA[ssh user_name@ip

1、从服务器上下载文件
scp username@servername:/path/filename /var/www/local_dir（本地目录）

 例如scp root@192.168.0.101:/var/www/test.txt  把192.168.0.101上的/var/www/test.txt 的文件下载到/var/www/local_]]></description><category></category></item><item><title><![CDATA[Java 格式化输出]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/42079613</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/42079613</guid><author>angelof7</author><pubDate>Mon, 22 Dec 2014 14:30:15 +0800</pubDate><description><![CDATA[public class Printf {

		public static void main(String[] args) {

			// %s表示输出字符串，也就是将后面的字符串替换模式中的%s
			System.out.printf("%s", new Integer(1212));
			// %n表示换行
			System.out.printf("%s%n", "end line]]></description><category></category></item><item><title><![CDATA[LeetCode: Copy List with Random Pointer题解]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/41958979</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/41958979</guid><author>angelof7</author><pubDate>Tue, 16 Dec 2014 13:35:40 +0800</pubDate><description><![CDATA[A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.

Return a deep copy of the list.




public RandomListNode co]]></description><category></category></item><item><title><![CDATA[Linked List Cycle && Linked List Cycle II 解体思路]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/41912421</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/41912421</guid><author>angelof7</author><pubDate>Sat, 13 Dec 2014 19:22:29 +0800</pubDate><description><![CDATA[Problem I:

Given a linked list, determine if it has a cycle in it.

Follow up: Can you solve it without using extra space?

Problem II:

Given a linked list, return the node where the cycle b]]></description><category></category></item><item><title><![CDATA[大规模分布式存储系统－读书笔记－第一章]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/41804343</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/41804343</guid><author>angelof7</author><pubDate>Mon, 08 Dec 2014 16:06:44 +0800</pubDate><description><![CDATA[分布式存储系统是大量普通PC服务器通过Internet互联，对外作为一个整体提供存储服务。


特性：

可扩展；低成本；高性能；易用。


技术：
数据分布；一致性；容错；负载均衡；事务与并发控制；易用性；压缩／解压缩。


数据分类
非结构化数据：文档、文本、图片、音频、视频

结构化数据：关系数据
半结构化数据


分布式文件系统
非结构化数据对象]]></description><category></category></item><item><title><![CDATA[The Knapsack problem]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/40584671</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/40584671</guid><author>angelof7</author><pubDate>Wed, 29 Oct 2014 12:53:24 +0800</pubDate><description><![CDATA[I found the Knapsack problem tricky and interesting at the same time. I am sure if you are visiting this page, you already know the problem statement but just for the sake of completion :

Problem:]]></description><category></category></item><item><title><![CDATA[Mac 下配置php环境]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/39893295</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/39893295</guid><author>angelof7</author><pubDate>Wed, 08 Oct 2014 14:47:24 +0800</pubDate><description><![CDATA[Mac OS X 内置了Apache 和 PHP，这样使用起来非常方便。本文以Mac OS X 10.6.3为例。主要内容包括：

启动Apache

运行PHP

安装MySQL

使用phpMyAdmin

配置PHP的MCrypt扩展库

设置虚拟主机

启动Apache

 

有两种方法：

打开“系统设置偏好（System Preferences]]></description><category></category></item><item><title><![CDATA[Vim 常用命令]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/38876307</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/38876307</guid><author>angelof7</author><pubDate>Wed, 27 Aug 2014 21:03:07 +0800</pubDate><description><![CDATA[Vim 是从 vi 发展出来的一个文本编辑器。代码补完、编译及错误跳转等方便编程的功能特别丰富，在程序员中被广泛使用。和 Emacs 并列成为类 Unix 系统用户最喜欢的编辑器。这里收录了130+程序员必备的 vim 命令，帮助你提高开发效率。

Basics



:e filename
Open filename for edition


:w
Save file
]]></description><category></category></item><item><title><![CDATA[Lucene实战]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/38677901</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/38677901</guid><author>angelof7</author><pubDate>Tue, 19 Aug 2014 10:05:57 +0800</pubDate><description><![CDATA[更新：下面的代码使用Lucene 4.0版本！

Lucene大大简化了在应用中集成全文搜索的功能。但实际上Lucene十分简单，我可以在五分钟之内向你展示如何使用Lucene。

1. 建立索引

为了简单起见，我们下面为一些字符串创建内存索引：







1

2

3

4

5

6

7

8

9

10

11]]></description><category></category></item><item><title><![CDATA[CocoaPods安装和使用教程]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/38417561</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/38417561</guid><author>angelof7</author><pubDate>Thu, 07 Aug 2014 13:59:35 +0800</pubDate><description><![CDATA[出处：http://code4app.com/article/cocoapods-install-usage]]></description><category></category></item><item><title><![CDATA[Git图形化参考手册]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/38339577</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/38339577</guid><author>angelof7</author><pubDate>Fri, 01 Aug 2014 17:08:51 +0800</pubDate><description><![CDATA[基本用法



上面的四条命令在工作目录、暂存目录(也叫做索引)和仓库之间复制文件。

● git add files 把当前文件放入暂存区域。

● git commit 给暂存区域生成快照并提交。

● git reset -- files 用来撤销最后一次git
 add files，你也可以用git reset 撤销所有暂存区域文件。

● git checkou]]></description><category></category></item><item><title><![CDATA[Git远程基本操作命令]]></title><link>https://blog.youkuaiyun.com/angelof7/article/details/38339091</link><guid>https://blog.youkuaiyun.com/angelof7/article/details/38339091</guid><author>angelof7</author><pubDate>Fri, 01 Aug 2014 16:46:41 +0800</pubDate><description><![CDATA[Git有很多优势，其中之一就是远程操作非常简便。本文详细介绍5个Git命令，它们的概念和用法，理解了这些内容，你就会完全掌握Git远程操作。

git clonegit remotegit fetchgit pullgit push

本文针对初级用户，从最简单的讲起，但是需要读者对Git的基本用法有所了解。同时，本文覆盖了上面5个命令的几乎所有的常用用法，所以对于熟练用户也有参考价值。]]></description><category></category></item></channel></rss>