curr_menunot_curr"> {$vo.typeid|url=lists,###}{$vo.url}" data-transition="slidedown" data-ajax="false"> {$vo.typename} 备注:第2行里的c...
分类:
其他好文 时间:
2015-03-15 23:39:53
阅读次数:
208
今天更新时候出现了点小问题,一开始更新到一半,我嫌速度慢,就取消掉了。更新了sources.list之后再执行sudo apt-get update 提示我出错了E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource tem...
分类:
其他好文 时间:
2015-03-15 21:11:39
阅读次数:
227
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 digit. Add the two numbers and return it as a link...
分类:
其他好文 时间:
2015-03-15 07:06:35
阅读次数:
100
{pc:content action="lists" catid="$catid" num="25" order="id DESC" page="$page" moreinfo="1"}{loop $data $r}{date('Y-m-d H:i:s',$r[inputtime])}·{$r[ti...
分类:
Web程序 时间:
2015-03-14 18:20:49
阅读次数:
151
两个指针的做法,但比起2个数组有序的数组的话,链表做更容易,因为当一个链表遍历结束后,tail指针并不需要遍历另一个链表,只要直接指向它就行/** * Definition for singly-linked list. * struct ListNode { * int val; * ...
分类:
其他好文 时间:
2015-03-13 22:04:13
阅读次数:
147
??
1.问题描述:
You are given two linked lists representing two non-negativenumbers. The digits are stored in reverse order and each of their nodes containa
single digit. Add the two numbers and re...
分类:
其他好文 时间:
2015-03-13 12:47:51
阅读次数:
721
Merge k Sorted Lists问题:Mergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity.思路: 归并排序(二分问题)我的代码:public clas....
分类:
其他好文 时间:
2015-03-13 10:45:10
阅读次数:
120
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.思路:使用伪头部c...
分类:
其他好文 时间:
2015-03-12 20:49:24
阅读次数:
124
Intersection of Two Linked Lists问题:Write a program to find the node at which the intersection of two singly linked lists begins.思路: 追击问题我的代码:public c....
分类:
其他好文 时间:
2015-03-11 21:15:45
阅读次数:
118
题目Write a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked lists:A: a1 → a2
↘
...
分类:
其他好文 时间:
2015-03-10 15:33:24
阅读次数:
171