码迷,mamicode.com
首页 >  
搜索关键字:redis list    ( 76141个结果
Newtonsoft.Json.4.5.0 序列化与反序列化json字符串使用方法总结
在VS里下载安装:Json.NET 5.0.6http://www.nuget.org/packages/Newtonsoft.Json/5.0.6反序列化json字符串为List:json字符串如下: 1 {"docs": [{ 2 "uid": 2629577, 3 ...
分类:Web程序   时间:2014-05-22 04:59:00    阅读次数:484
字符串按首字母分组并ToDictionary的实现
这是携程(深圳).net开发笔试的一道题目,要求实现字符串按首字母分组并ToDictionary输出,当时没有做出来,后面研究了一下,现在将这道题的几种实现方式记录下来。首先初始化数据源,是一个List对象。如下代码。//数据源 List list = new List ...
分类:其他好文   时间:2014-05-22 04:32:32    阅读次数:236
【Leetcode】Partition List
Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the origi...
分类:其他好文   时间:2014-05-22 03:53:29    阅读次数:313
泛型类及方法的基本使用
1、定义 public class EntBase:where T: new() { public List GetListDemo() { var lst = new List(); for (int i = 1; i...
分类:其他好文   时间:2014-05-22 03:35:38    阅读次数:166
9.链表中倒数第k个结点
Find the inverse Kth node of a linked list.
分类:其他好文   时间:2014-05-22 03:29:46    阅读次数:247
mysql
mysql 的守护进程是mysqld [root@localhost ~]# service mysqld start启动 MySQL: 你可以看看你的服务是否已经添加到linux上[root@localhost ~]# chkconfig --list mysqldmysql...
分类:数据库   时间:2014-05-22 02:28:19    阅读次数:304
19.反转链表
Reverse a linked list.
分类:其他好文   时间:2014-05-22 02:15:57    阅读次数:219
35.两链表的第一个公共结点
Find common nodes of 2 linked list.
分类:其他好文   时间:2014-05-22 00:10:17    阅读次数:241
31.从尾到头输出链表
Print a linked list from last to first.
分类:其他好文   时间:2014-05-22 00:06:27    阅读次数:258
33.在O(1)时间删除链表结点
Delete node in linked list in O(1).
分类:其他好文   时间:2014-05-22 00:05:51    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!