码迷,mamicode.com
首页 >  
搜索关键字:redis list    ( 76141个结果
leetcode——Remove Duplicates from Sorted List II 删除排序字符串中重复字符(AC)
没什么太多讲的,可以使用递归和迭代两种方法来做,要仔细考虑各种输入情况。code如下:...
分类:其他好文   时间:2014-06-15 15:09:59    阅读次数:145
关于c++ list容器的操作摸索
c++ list基本应用...
分类:编程语言   时间:2014-06-15 14:39:22    阅读次数:270
Java集合排序
java集合排序      如何给Java中List集合排序呢?前端时间在工作中遇到类似于给这样的结构排序List>>按照其中Map中的某个key值排序呢? 集合产生如下: public void sortList(){ List>> list = new ArrayList>>(); int group = 0; for(int i =0;i...
分类:编程语言   时间:2014-06-15 14:36:08    阅读次数:369
【Leetcode】Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up: Can you solve it without using extra space? 思路:由【Leetcode】Linked List Cycle可知,利用一快一慢...
分类:其他好文   时间:2014-06-15 14:23:38    阅读次数:288
centos 安装五笔
没有五笔怎么打字!ctrl + alt + [F2 - F6]进入控制台模式f2 - f6是五个控制台,想进哪个进哪个!进入之后用alt + [F2 - F6]来切换不同的控制台输入root / 密码# yum list|grep wubi 使用这个命令来看看有哪些可以安装的五笔包,出来一个:ib....
分类:其他好文   时间:2014-06-15 11:28:43    阅读次数:218
去除List列表中重复值(稍作调整,也适合于List<T> 和 List<?>)
方法一 循环元素删除  [c-sharp] view plaincopy public static void removeDuplicate(List list) {     for ( int i = 0 ; i     for ( int j = list.size() - 1 ; j > i; j -- ) {        if ...
分类:其他好文   时间:2014-06-15 10:30:00    阅读次数:204
[LeetCode] Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Follow up: Can you solve it without using extra space?比...
分类:其他好文   时间:2014-06-14 15:48:59    阅读次数:217
性能优化——算法优化
背景 由于某种原因,我们系统需要记录另一个系统中一个表里的id。 但是,当我们记录完了以后,别人系统可能会删除那个表里的一些数据,这样的话,我们这边就多了一些无效数据,所以,我们必须的找到这些无效的id,然后将其删除。   开始,我们的实现是这样:我们将记录下来的所有id放在一个list里,然后传到另一个系统,他将他们已经删除的id返回。具体处理代码如下: public String f...
分类:其他好文   时间:2014-06-14 15:06:57    阅读次数:234
SharePoint 创建列表并使用Windows Presentation Foundation应用程序管理列表
使用WPF应用程序更新SharePoint列表,中间使用CAML,XML等技术。...
分类:Windows程序   时间:2014-06-14 14:22:43    阅读次数:248
数据结构线性表顺序结构的实现
package com.he.list; import java.util.Arrays; import org.w3c.dom.ls.LSException; class ArrayList { private int length;// the list's length private int[] store;// store the data // initialize ...
分类:其他好文   时间:2014-06-14 11:16:05    阅读次数:224
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!