Reverse a linked list from positionmton. Do it
in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m=
2 andn= 4,return1->4->3->2->5->NULL.No...
分类:
其他好文 时间:
2014-05-21 19:08:08
阅读次数:
195
Collection├List│├LinkedList│├ArrayList│└Vector│ └Stack└SetMap├Hashtable├HashMap└WeakHashMapCollection接口
Collection是最基本的集合接口,一个Collection代表一组Object,即C....
分类:
其他好文 时间:
2014-05-21 18:21:04
阅读次数:
219
本次内容:arraylist()1、 1 package list; 2 3 import
java.util.ArrayList; 4 import java.util.Date; 5 import java.util.List; 6 7 /** 8
* 测试list的基本方法 9 * ...
分类:
编程语言 时间:
2014-05-21 17:55:42
阅读次数:
263
1. 准备2. 语法和语义3. 为我们的游戏世界定义数据4. 环顾我们的游戏世界5. 函数式编码风格6. 环游我们的游戏世界7. 构建SPELs8. 创建特殊操作9. 附录10. 为什么没有使用”宏”这个词11. 译者感想
本文翻译自:Casting SPELs in Clojure
1 准备
任何学过Lisp的人都会说List和其它语言有很大的不同.它有很多...
分类:
其他好文 时间:
2014-05-21 15:53:25
阅读次数:
249
描述list layout item有上倒下依次显示的代码实现形式
LayoutAnimation2.java
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may no...
分类:
其他好文 时间:
2014-05-21 09:02:15
阅读次数:
250
介绍list item倒序显示
LayoutAnimation3.java
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e...
分类:
其他好文 时间:
2014-05-21 08:25:44
阅读次数:
278
Installing in iOS (Xcode 5)
1:首先你要有一个项目。LOL
2:添加一个新的测试target。(关于Target是什么,请参考我的另外一篇文章)最新版Xcode 将Add Target放在顶部栏
3:选择新的target的类型
4:将GHUnit框架放到新建的target中
5:打开Objective-C categories,...
分类:
移动开发 时间:
2014-05-21 07:49:12
阅读次数:
399
题目:
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 t...
分类:
其他好文 时间:
2014-05-21 07:42:18
阅读次数:
230
Subset
Time Limit: 30000MS
Memory Limit: 65536K
Total Submissions: 1562
Accepted: 261
Description
Given a list of N integers with absolute values no larger than 1015,...
分类:
其他好文 时间:
2014-05-21 07:16:37
阅读次数:
409
远程库推送与克隆
1.Linux下产生ssh key
命令行输入 ssh-keygen -t rsa -C "your email"
则会在主目录下生成一个.ssh的目录,里面的id_rsa.pub为你ssh key密钥。
在登录github下,点击 account settings -> ssh key -> add ssh key 将你的key加入
此时,你就将这两个进行了一个绑...
分类:
系统相关 时间:
2014-05-21 06:28:30
阅读次数:
396