码迷,mamicode.com
首页 >  
搜索关键字:list    ( 54897个结果
【LeetCode】19 - Remove Nth Node From End of List
Given a linked list, remove thenthnode from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. After re...
分类:其他好文   时间:2015-08-10 01:48:40    阅读次数:126
黑马程序员——Java基础---集合(二)------Map集合
------Java培训、Android培训、iOS培训、.Net培训、期待与您交流! ------- Map集合一、概述1、简述: Map集合是一个接口,和List集合及Set集合不同的是,它是双列集合,并且可以给对象加上名字,即键(Key)2、特...
分类:编程语言   时间:2015-08-10 01:43:11    阅读次数:147
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. 递归解决很简单 /** * Definition for singly-linked list. * s...
分类:其他好文   时间:2015-08-10 00:30:50    阅读次数:90
【LeetCode】83 - Remove Duplicates from Sorted List
Given a sorted linked list, delete all duplicates such that each element appear onlyonce.For example,Given1->1->2, return1->2.Given1->1->2->3->3, retu...
分类:其他好文   时间:2015-08-10 00:07:42    阅读次数:117
原型模式
prototype模式是一种对象创建型模式,他采取复制原型对象的方法来创建类的实例,使用原型创建出来的实例具有和原型一样的数据 package com.org.prototype; import java.util.ArrayList; import java.util.List; ...
分类:其他好文   时间:2015-08-09 22:48:26    阅读次数:131
Flatten Binary Tree to Linked List
*   * For example,   * Given   *   *          1   *         /   *        2   5   *       / \     *      3   4   6   * ...
分类:其他好文   时间:2015-08-09 22:43:07    阅读次数:166
黑马程序员——Java基础---集合(一)---Collection、set、list
------Java培训、Android培训、iOS培训、.Net培训、期待与您交流! ------ 集合框架java中有许多的集合,也称为容器,下图便是集合框架的构成及分类。一、为什么出现集合类? 面向对象语言对事物的体现都是以对象的形式,所以为了方便...
分类:编程语言   时间:2015-08-09 22:28:12    阅读次数:194
焦点轮播图
*{margin:0px;padding:0px}img{width:400px;height:200px}#ul1 li{list-style: none;float:left;margin-left:14px}#div1{position:absolute;...
分类:其他好文   时间:2015-08-09 22:05:06    阅读次数:148
Linux - 主机的细部权限规划:ACL 的使用
ACL 是 Access Control List 的缩写,主要的目的是在提供传统的 owner,group,others 的 read,write,execute 权限之外的细部权限配置。ACL 可以针对单一使用者,单一文件或目录来进行 r,w,x 的权限规范,对于需要特殊权限的使用状况非常有帮助。 那 ACL 主要可以针对哪些方面来控制权限呢?他主要可以针对几个项目:     使用...
分类:系统相关   时间:2015-08-09 18:55:25    阅读次数:201
listview添加onItemClickListener
MainActivity.javapackage com.wyl.listview04;import java.util.ArrayList;import java.util.HashMap;import java.util.List;import java.util.Map;import andr...
分类:其他好文   时间:2015-08-09 18:36:21    阅读次数:147
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!