码迷,mamicode.com
首页 >  
搜索关键字:python list tuple    ( 183691个结果
Twitter web information
http://developer.51cto.com/art/201307/404612.htm150M active users300K Qps (read, only 6000 write/s)22MB/s triffic800 redis server. (use redis list)内部组...
分类:Web程序   时间:2014-05-14 03:50:34    阅读次数:365
[leetcode]Binary Tree Level Order Traversal @ Python
原题地址:http://oj.leetcode.com/problems/binary-tree-level-order-traversal/题意:二叉树的层序遍历的实现。解题思路:二叉树的层序遍历可以用bfs或者dfs来实现。这里使用的dfs实现,代码比较简洁。实际上,二叉树的先序遍历就是dfs实...
分类:编程语言   时间:2014-05-14 03:25:59    阅读次数:428
mybatis(单表增删改查useMapper版)
数据库脚本(注意测试时先add-->load-->update-->delete-->list)UserMapper版-- ---------------------------------------------------------- 主机: ...
分类:移动开发   时间:2014-05-12 22:29:59    阅读次数:463
Leetcode | Substring with Concatenation of All Words
You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatena...
分类:其他好文   时间:2014-05-12 22:27:04    阅读次数:265
oracle 中top-n的使用
对于ms sqlserver数据库中可以直接使用top(n)提取前N 个结果,而oracle中并不能直接使用的。oracle中提供了对于提取前N 条的结果的方法 那就是用行编号例如:select [column_list],ROWNUM from ( select [colum...
分类:数据库   时间:2014-05-12 22:14:41    阅读次数:429
[leetcode]Binary Tree Level Order Traversal II @ Python
原题地址:http://oj.leetcode.com/problems/binary-tree-level-order-traversal-ii/题意:Given a binary tree, return thebottom-up level ordertraversal of its node...
分类:编程语言   时间:2014-05-12 22:03:27    阅读次数:581
[leetcode]Binary Tree Zigzag Level Order Traversal @ Python
原题地址:http://oj.leetcode.com/problems/binary-tree-zigzag-level-order-traversal/题意:Given a binary tree, return thezigzag level ordertraversal of its nod...
分类:编程语言   时间:2014-05-12 22:02:26    阅读次数:480
[leetcode]Minimum Depth of Binary Tree @ Python
原题地址:http://oj.leetcode.com/problems/minimum-depth-of-binary-tree/题意:Given a binary tree, find its minimum depth.The minimum depth is the number of no...
分类:编程语言   时间:2014-05-12 21:55:15    阅读次数:348
Windows 下让 Python 多个版本共存(支持 pip)
转载自http://blog.kgzx.net/index.php/archives/40/因为类库兼容性的关系,写实际项目时都是用 Python 2,但自己试验性的写点小东西还是喜欢用 Python 3在这记录一下在 windows 下让这两个版本共存的配置步骤在官网下载两个版本的 exe 文件并...
分类:编程语言   时间:2014-05-12 21:48:04    阅读次数:354
运维的我要学开发--Flask(1)
Flask默认使用的是Jinja2的模板引擎,下面将会介绍下Flask提供给模板的一些方法。#-*-coding:utf-8-*- #导入一些函数 fromflaskimportFlask fromflaskimportrender_template,g #创建一个app app=Flask(__name__) #创建一个装饰器 @app.route("/") @app.route("/index") defindex..
分类:其他好文   时间:2014-05-11 19:25:12    阅读次数:443
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!