码迷,mamicode.com
首页 >  
搜索关键字:list    ( 54897个结果
leetcode - Reverse Linked List II
leetcode -Reverse Linked List IIReverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn...
分类:其他好文   时间:2015-08-01 00:52:37    阅读次数:118
发布文章居然不在首页
测试代码着色package com.example.news;import java.util.List;import android.content.Context;import android.view.LayoutInflater;import android.view.View;import...
分类:其他好文   时间:2015-08-01 00:51:08    阅读次数:98
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 original relative order of the nodes in each of...
分类:其他好文   时间:2015-07-31 23:34:56    阅读次数:116
Forms Android Bitmap 处理
forms 接口定义using System;using System.Collections.Generic;using System.IO;namespace PocketDoctor{ public interface IUtilPicture { List Resi...
分类:移动开发   时间:2015-07-31 23:30:39    阅读次数:146
解决ubuntu 的 apt-get 的依赖性问题的报错-xiaohongqi
1, vim  /etc/apt/source.list,把下面内容源内容copy到source.list中 2, apt-get update deb http://ftp.neu.edu.cn/mirrors/ubuntu/ vivid main multiverse restricted universe deb http://ftp.neu.edu.cn/mir...
分类:系统相关   时间:2015-07-31 22:03:17    阅读次数:171
(easy)LeetCode 237.Delete Node in a Linked List
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is1 -> 2 -> 3 -> ...
分类:其他好文   时间:2015-07-31 20:15:22    阅读次数:116
pkg_utility
创建包名: 1 CREATE OR REPLACE PACKAGE BODY PKG_UTILITY AS 2 3 --字符串转换到索引表 4 PROCEDURE STR_TO_LIST(PI_STR IN VARCHAR2, --字符串 5 ...
分类:其他好文   时间:2015-07-31 20:04:05    阅读次数:170
(easy)LeetCode 234.Palindrome Linked List
Given a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space?思想:转置后半段链表节点,然后比较前半段和后半段节点的值是否相等。代码如...
分类:其他好文   时间:2015-07-31 19:54:03    阅读次数:109
JAVA学习 - 类集学习总结
1、类集就是一个动态对象数组,还不需要用户自己编写链表,简单多多。2、集合核心操作: (1) 单值保存:Collection (包含两个重要的方法:public void add() 、public Iterator iterator() ) : 允许重复:List子接口(public E ...
分类:编程语言   时间:2015-07-31 19:53:00    阅读次数:133
redis在windows下安装和PHP中使用
redis在windows下安装和PHP中使用windows下安装redis1、redis简介redis是一个key-value存储系统。和Memcached类似,它支持存储的value类型相对更多,包括string(字符串)、list(链表)、set(集合)、zset(sorted set --有...
分类:Windows程序   时间:2015-07-31 18:13:54    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!