- 博客(3)
- 资源 (4)
- 收藏
- 关注
原创 【LeetCode】268 Missing Number (java实现)
Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array.For example,Given nums = [0, 1, 3] return 2.Note:Your algorithm should run
2015-08-29 12:28:01 1657
原创 下载不同版本的hadoop
不同版本 http://archive.apache.org/dist/hadoop/core/也可以到git上下载,但是国内网速感人。最新的版本,基本都在mirror可以下载到。国内的几个mirror可参考我的另外一篇博文(国内镜像地址)。
2015-08-24 23:16:43 512
原创 Shell脚本中$的用法
$0: 脚本名称,相对路径还是绝对路径要看调用的方式。如果是在父目录中,./dollarTest.sh调用,那么$0就是./dollarTest.sh;如果是全路径调用,如"/root/test/dollarTest.sh",那么$0就是"/root/test/dollarTest.sh"。 $n:调用的第n个参数。ps:如果n > 9,那么数字需要用括号括起来,如${10},否则she
2015-08-02 23:07:58 3743 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人