码迷,mamicode.com
首页 >  
搜索关键字:lists    ( 2473个结果
WP8_检测列表是否滑动
One of the UI features of lists on Windows Phone 7 is that the "scroll bars" don't really act like traditional scroll bars; they are non-interactive a...
分类:其他好文   时间:2014-09-04 01:34:37    阅读次数:187
Linux -- ls
10.1 `ls': List directory contents==================================The `ls' program lists information about files (of any type, includingdirectories)...
分类:系统相关   时间:2014-09-03 19:44:07    阅读次数:450
Redis之七种武器
长生剑、孔雀翎、碧玉刀、多情环、离别钩、霸王枪、拳头是古龙笔下的七种武器,而本文打算将Redis的几种使用方式 Strings、Hashs、Lists、Sets、Sorted Sets、Pub/Sub、Transactions 也比作七种武器,为大家讲解Redis的七种特性,并列举其适合的应用场景。...
分类:其他好文   时间:2014-09-03 16:30:46    阅读次数:180
快速排序算法
引言 快排采用分治法(Divide and Conquer)把一个list分为两个sub-lists。 算法步骤 1. 从数列中跳出一个元素,作为基准(pivot)。 2. 重新排序数列,所有比基准值小的元素(elements pivot)放在基准值后面,与基准值相等的数可以放在任意一边。此操作即为...
分类:其他好文   时间:2014-09-02 22:36:25    阅读次数:298
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...
分类:其他好文   时间:2014-09-02 19:57:55    阅读次数:166
ubuntu12.04软件中心打开错误和 ubuntu 包管理之“:E: 读错误 - read (5: 输入/输出错误) E: 无法解析或打开软件包的列表或是状态文件。”的解决
运行ubuntu软讲中心时打不开,老是报错,从终端也下载不了软件; 运行包管理的update或者search等等会报错: E: 读错误 - read (5: 输入/输出错误) E: 无法解析或打开软件包的列表或是状态文件。 英文是: E:Read error - read (5 Input/output error), E:The package lists or...
分类:其他好文   时间:2014-08-31 20:07:31    阅读次数:240
Merge Two Sorted Lists <LeetCode>
---恢复内容开始---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 lis...
分类:其他好文   时间:2014-08-31 17:01:51    阅读次数:270
Set Matrix Zeroes
class Solution: # @param matrix, a list of lists of integers # RETURN NOTHING, MODIFY matrix IN PLACE. def setZeroes(self, matrix): di...
分类:其他好文   时间:2014-08-29 16:00:48    阅读次数:203
【leetcode】Merge k Sorted Lists (归并排序)
题目: Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 解析:合并k个有序链表,最后返回一个总的有序链表,分析并描述其复杂度。该题的实质为归并排序,平均时间复杂度为O(NlogN)。 ...
分类:其他好文   时间:2014-08-29 11:05:07    阅读次数:225
[LeetCode] 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.public cl...
分类:其他好文   时间:2014-08-29 01:16:36    阅读次数:267
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!