码迷,mamicode.com
首页 >  
搜索关键字:python list tuple    ( 183691个结果
Linked List Cycle
文中用快慢指针详细分析了在有环路的链表上,两个指针会在何时、何地相遇,如何知道相遇点偏离了环路起点多远。
分类:其他好文   时间:2014-07-22 23:13:13    阅读次数:375
对list代理扩展功能
package 动态代理扩展List;import java.lang.reflect.InvocationHandler;import java.lang.reflect.Method;import java.lang.reflect.Proxy;import java.util.ArrayLis...
分类:其他好文   时间:2014-07-22 23:13:12    阅读次数:312
java 知识收集
1,若方法传入的对象参数为空,则在方法中改变参数并不会改变声明的对象public void setList(List list){ list = new ArrayList() ; } @Test public void t4(){ List ...
分类:编程语言   时间:2014-07-22 23:12:56    阅读次数:323
eclipse 版本号
Eclipse3.1版本代号IO【木卫1,伊奥】 Eclipse3.2版本代号Callisto【木卫四,卡里斯托】Eclipse3.3版本代号Eruopa【木卫二,欧罗巴】Eclipse3.4版本代号Ganymede【木卫三,盖尼米德】Eclipse3.5版本代号Galileo【伽利略】 Eclip...
分类:系统相关   时间:2014-07-22 23:12:32    阅读次数:519
【leetcode刷题笔记】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...
分类:其他好文   时间:2014-07-22 23:12:13    阅读次数:426
[leetcode]Insertion Sort List @ Python
原题地址:http://oj.leetcode.com/problems/insertion-sort-list/题意:对链表进行插入排序。解题思路:首先来对插入排序有一个直观的认识,来自维基百科。 代码循环部分图示:代码:class Solution:# @p...
分类:编程语言   时间:2014-07-22 23:11:32    阅读次数:411
python函数式编程
python函数式编程
分类:编程语言   时间:2014-07-22 23:11:32    阅读次数:428
Mysql Cookbook学习笔记第二章
1,使用python链接mysql # -*- coding: utf-8 -*-# connect.py --连接到MySQL服务器import sysimport MySQLdbtry: conn = MySQLdb.connect(db = "cookbook", host = "localh...
分类:数据库   时间:2014-07-22 23:11:15    阅读次数:518
【Python】内置数据类型
参考资料: http://sebug.net/paper/books/dive-into-python3/native-datatypes.html http://blog.csdn.net/hazir/article/details/101597091、Boolean【布尔型】# coding.....
分类:编程语言   时间:2014-07-22 23:10:15    阅读次数:371
collection set
http://blog.csdn.net/humingfiy/article/details/7946408Collection:List、SetMap:HashMap、HashTable如何在它们之间选择一、Array ,ArraysJava所有“存储及随机访问一连串对象”的做法,array是最有...
分类:其他好文   时间:2014-07-22 23:08:52    阅读次数:394
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!