原文:http://disi.unitn.it/~lissandrini/notes/installing-hadoop-on-ubuntu-14.html This guide is shows step by step how to set up a multi nod cluster with Hadoop and HDFS 2.4.1 on Ubuntu 14.04. It i...
分类:
其他好文 时间:
2015-04-25 18:32:59
阅读次数:
175
问题:Remove Duplicates from Sorted Array II 难度:mediumFollow up for “Remove Duplicates”:
What if duplicates are allowed at most twice?For example,
Given sorted array A = [1,1,1,2,2,3],Your function s...
分类:
编程语言 时间:
2015-04-25 12:19:41
阅读次数:
186
【Title】Pico CTF 2014 Write-up snippet 【Description】 We found this program snippet.txt, but we're having some trouble figuring it out. What's the value...
分类:
其他好文 时间:
2015-04-25 12:08:43
阅读次数:
305
When English speakers talk about time and place, there are three little words that often come up:in,on, andat. These common words are prepositions tha...
分类:
其他好文 时间:
2015-04-25 10:38:43
阅读次数:
114
这次我准备打包hplip和youdaodict。首先checkout自己的home project并创建新package并更新。osc co home:nukllyosc meta pkg -e home:nuklly hpliposc up home:nuklly然后在新增的hplip文件夹下添加...
分类:
其他好文 时间:
2015-04-25 06:54:33
阅读次数:
191
题目描述:
假设 你用一个1001个整数组的数组,这些整数是任意排列的,但是你知道所有的整数都在1到1000(包括1000)之间,此外,除一个数字出现两次外,其他所有数字只出现一次。假设你只能对这个整数做一次处理,用一种算法找出重复的那个数字。(不用辅助的存储方式)
1.sum up all the number,then subtract the sum from 1001...
分类:
编程语言 时间:
2015-04-24 14:26:25
阅读次数:
127
php修改排序,上移下移/**$UpDown //移动方向,up或down$table //表名$id //当前移动的ID$id_col //ID字段的名称$oc_col //排序字段的名称$where //条件*/functionMoveUpDown($UpDown,$table,$id,$id_...
分类:
编程语言 时间:
2015-04-24 14:01:41
阅读次数:
214
问题描述对于一个给定的数组,找出2个数,它们满足2个数的和等于一个特定的数,返回这两个数的索引。(从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 the t...
分类:
其他好文 时间:
2015-04-24 12:38:32
阅读次数:
132
Problem Description
The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specified ...
分类:
其他好文 时间:
2015-04-24 12:37:35
阅读次数:
123
problem:
Follow up for problem "Populating Next Right Pointers in Each Node".
What if the given tree could be any binary tree? Would your previous solution still work?
Note:
You may ...
分类:
其他好文 时间:
2015-04-24 10:35:50
阅读次数:
136