码迷,mamicode.com
首页 >  
搜索关键字:redis 数据结构 list    ( 103878个结果
Perl 哈希、数组 排序
写在前面: 1. 注意use warnings; 后,定义变量前加my 2. 此文转载其他文章,代码修改,适合新版本perl(一) sort函数sort LISTsort BLOCK LISTsort SUBNAME LISTsort的用法有如上3种形式。它对LIST进行排序,并返回排序后的列表.....
分类:其他好文   时间:2014-05-18 19:17:50    阅读次数:444
Leetcode | Partition List
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You should preserve the o...
分类:其他好文   时间:2014-05-18 02:34:57    阅读次数:352
反射用法
static void Main(string[] args) { var retul = GetListData("wang"); } public static List GetListData(string name) where ...
分类:其他好文   时间:2014-05-18 02:06:10    阅读次数:243
Leetcode | Reverse Nodes in k-Group
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.If the number of nodes is not a multiple of k then le...
分类:其他好文   时间:2014-05-18 01:53:53    阅读次数:331
Leetcode | Remove Duplicates from Sorted List I && II
Remove Duplicates from Sorted List IGiven a sorted linked list, delete all duplicates such that each element appear only once.For example,Given 1->1->...
分类:其他好文   时间:2014-05-18 01:41:31    阅读次数:361
【数据结构】二叉树遍历
先序遍历和中序遍历非递归代码:#include #include using namespace std;typedef struct BinaryTree { int data; struct BinaryTree *rchild, *lchild;}BinaryTree;int cr...
分类:其他好文   时间:2014-05-17 21:56:50    阅读次数:264
2014 5 16
又是新的一天, 昨天 晚上1点过才睡,实实在在的手机党,看淘宝都看得那么入神。(ps:最近生活离不开淘宝)但是今天白天上课居然没有大睡,就是上数据结构的时候有点走神,我们今天讲的是平衡二叉树,说到这里,可以简单总结下今天学习的内容,每个结点和上的平衡因子(该结点的左子树的深度减去右子树的深度)只能是...
分类:其他好文   时间:2014-05-17 21:34:10    阅读次数:230
二次战CPP链表
Felling By Ruiy:Pre-learnning link list knowloages 熟悉 指针相关操作应用+结构体数据类型应用,且能简单融合使用,堆内存(内存泄露)->类似于你使用完在食堂吃饭的饭盒,吃完饭后你把那个餐具饭盒给带走了,没还给食堂,使此饭盒没能再次被别的人使用.哎,....
分类:其他好文   时间:2014-05-17 21:31:32    阅读次数:307
List 循环的高效代码块
高效的代码块: /* Iterator it = al.iterator();//获取迭代器,用于取出集合中的元素。 while(it.hasNext()) { sop(it.next()); } ...
分类:其他好文   时间:2014-05-17 18:28:51    阅读次数:252
解决Centos 6.3 中 gedit中文乱码问题
1、安装gconf-editor yum list | grep conf-editoryum install gconf-editor2、运行gconf-editor设置: apps ---> gedit-2 ---> preferences ----> encodingauto-detected...
分类:其他好文   时间:2014-05-17 18:18:56    阅读次数:215
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!