You are given two linked lists representing two
non-negative numbers. The digits are stored in reverse order and each of their
nodes contain a single ...
分类:
其他好文 时间:
2014-05-16 23:18:16
阅读次数:
360
/** * Created with IntelliJ IDEA. * User:
li_zhe * Date: 14/05/06 * Time: 12:34 * To change this template use File |
Settings | File Templates. */pack...
分类:
其他好文 时间:
2014-05-16 22:09:34
阅读次数:
431
有序列表: 打开冰箱门 把大象放进去 关上冰箱门无序列表: 雪碧 可乐 凉茶
分类:
其他好文 时间:
2014-05-16 07:02:53
阅读次数:
251
[转]
对于很多人用div来做网站时,总会用到,但在显示效果时前面总是会有一个小黑点,这个令很多人头痛,但又找不到要源,其它我们可以用以下方法来清除。[HTML]去除li前面的小黑点,和ul、LI部分属性[转]
对于很多人用div来做网站时,总会用到,但在显示效果时前面总是会有一个小黑点,这个令很多...
分类:
Web程序 时间:
2014-05-16 06:40:17
阅读次数:
348
题目: Sort a linked list inO(nlogn) time using
constant space complexity.解题思路: 复杂度为O(n* logn)
的排序算法有:快速排序、堆排序、归并排序。对于链表这种数据结构,使用归并排序比较靠谱。递归代码如下:代码: /...
分类:
其他好文 时间:
2014-05-16 05:49:04
阅读次数:
266
题目: Sort a linked list using insertion sort.解题思路:
假设 list[1..i]是排好序的,找到第i+1个元素应该插入的位置及其前驱,然后将其插入。代码: /** * Definition for
singly-linked list. * str...
分类:
其他好文 时间:
2014-05-16 05:47:08
阅读次数:
258
Refer
to:http://stackoverflow.com/questions/10828294/c-and-c-partial-initialization-of-automatic-structureThe
points,The linked gcc documentation does...
分类:
编程语言 时间:
2014-05-14 07:58:53
阅读次数:
417
继承asynctask,有三个参数
三个参数的含义是第一个表示输入参数,第二个为progress,表示当前的进度,第三个为doInbackground
返回值
需要一个参数传入url,返回一个result结果,如果没有网络则返回空
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Li...
分类:
移动开发 时间:
2014-05-13 07:47:33
阅读次数:
406
1、
??
Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
For example,
"A man, a plan, a canal: Panama" is a palindrom...
分类:
其他好文 时间:
2014-05-13 07:06:35
阅读次数:
284
本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenlie
Palindrome Number
Total Accepted: 12165 Total
Submissions: 41736
Determine whether an integer is a palindrome. Do this wit...
分类:
其他好文 时间:
2014-05-13 05:28:07
阅读次数:
253