码迷,mamicode.com
首页 >  
搜索关键字:lists    ( 2473个结果
Add Two Numbers 解题报告
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-11-26 01:05:29    阅读次数:166
Add Two Numbers
Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes co...
分类:其他好文   时间:2014-11-25 14:09:53    阅读次数:171
Leetcode: Merge k Sorted Lists
Mergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity.分析:一个很简单的解法是调用k-1次merge two sorted linkedlist,假设每个list...
分类:其他好文   时间:2014-11-25 00:03:02    阅读次数:207
[leetcode] 17. Merge Two Sorted Lists
这个非常简单的题目,题目如下: 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...
分类:其他好文   时间:2014-11-25 00:02:41    阅读次数:211
Merge k Sorted Lists
Mergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity.思路:开始做过两两合并的链表,此时做k路合并,即将k个链表进行合并,可以先将这k个链表进行两两合并,知道合并...
分类:其他好文   时间:2014-11-24 18:43:48    阅读次数:137
Merge Two Sorted Lists
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. #include #include typedef struct ListNode { ...
分类:其他好文   时间:2014-11-24 15:24:26    阅读次数:183
[LeetCode] Add Two Numbers
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-11-24 09:50:10    阅读次数:168
redis
一、redis redis是一个开源的使用ANSI C编写的基于key-value持久化产品。它具有高性能,持久化存储特点。redis支持的数据类型有String(字符串),Lists(列表),Sets(集合),Sorted Sets(有序集合),Hashs(哈希)类型。这些数据都支持例如添加,删....
分类:其他好文   时间:2014-11-23 23:10:32    阅读次数:326
Leetcode-Merge k Sorted Lists
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.Have you met this question in a real interview?Analy...
分类:其他好文   时间:2014-11-22 07:03:11    阅读次数:192
LeetCode:Add Two Numbers
题目描述: 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 i...
分类:其他好文   时间:2014-11-21 12:42:05    阅读次数:241
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!