码迷,mamicode.com
首页 >  
搜索关键字:list    ( 54897个结果
用10张图来看机器学习Machine learning in 10 pictures
I find myself coming back to the same few pictures when explaining basic machine learning concepts. Below is a list I find most illuminating. 1. Test ...
分类:系统相关   时间:2016-03-28 13:36:07    阅读次数:506
Java Collection Framework概述
文章出自:听云博客 Collection概述 Java collection是java提供的工具包,包含了常用的数据结构:集合、链表、队列、栈、数组、映射等。 Java集合主要可以划分为4个部分:List列表、Set集合、Map映射、工具类(Iterator、Arrays和Collections)。 ...
分类:编程语言   时间:2016-03-28 13:32:20    阅读次数:256
php不常用而又实用的函数
一、时间:1、xdebug_time_index():这xdebug自带的执行时间函数;2、自己拓展的方法及调试:functionmicrotime_float(){list($usec,$sec)=explode("",microtime());return((float)$usec+(float)$sec);}$time_start=microtime_float();usleep(100);$time_end=microtime_float();..
分类:Web程序   时间:2016-03-28 12:05:28    阅读次数:291
Linux内核-链表
linux内核链表的定义(定义了双向链表,不含数据域) 定义在 /linux-source-3.13.0/include/linux/types.h 头文件中. 1 struct list_head { 2 struct list_head *next, *prev; 3 }; 我们可以利用这个数据 ...
分类:系统相关   时间:2016-03-28 11:58:29    阅读次数:281
C# Linq获取两个List或数组的差集交集
List<int> list1 = new List<int>(); list1.Add(1); list1.Add(2); list1.Add(3); List<int> list2 = new List<int>(); list2.Add(3); list2.Add(4); list2.Add( ...
分类:编程语言   时间:2016-03-28 11:54:39    阅读次数:222
HashTable、List、ArrayList的经典使用和相互转换
1、添加引用 using System.Collections; 2、创建并添加数据 3、遍历哈希表中的 值Value 4、遍历哈希表 5、对HashTable排序之后输出,按Key排序 6、转换成List输出 7、转换成Dictionary<object, object>之后进行遍历输出 8、克隆 ...
分类:其他好文   时间:2016-03-28 10:22:35    阅读次数:2593
集合框架 容器
一、集合:起到中转作用,配合数据库一起使用 Collection(可以存储无序,可重复的数据)Map | List(有序可重复)Set(无序不重复)HashMap || ArrayList/LinkedListHashSet/TreeSet 数组的缺点: 1.长度一经确定不能修改 2.增删该的操作比较麻烦 1、ArrayList a.添加:add() ..
分类:其他好文   时间:2016-03-28 07:14:59    阅读次数:200
Python学习:列表和字典
列表和字典是最常用的数据类型。列表:字符串不易取出每个值:>>>name="xiaobaixiaohongxiaoming" >>>name ‘xiaobaixiaohongxiaoming‘列表存储信息量大,存取容易,更改方便:>>>name_list=["xiaobai","xiaohong","xiaoming"] >>>name_lis..
分类:编程语言   时间:2016-03-28 07:11:12    阅读次数:288
LeetCode 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 is 1 -> 2 -> 3 - ...
分类:其他好文   时间:2016-03-28 02:02:53    阅读次数:125
实验二
import java.util.ArrayList;import java.util.Collections;import java.util.Comparator;import java.util.HashMap;import java.util.List;import java.util.Ma ...
分类:其他好文   时间:2016-03-28 01:53:30    阅读次数:121
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!