码迷,mamicode.com
首页 >  
搜索关键字:排序 python    ( 180003个结果)
Difference Between Mod_Python & Mod_Wsgi | eHow
Difference Between Mod_Python & Mod_Wsgi | eHow x YES NO Why not? Thanks for helping us to make eHow better for everyone. eHow Computers Computer Netw...
分类:编程语言   时间:2014-05-15 02:12:12    阅读次数:390
[Medusa-dev] psp_handler - embed python in HTML like ASP
[Medusa-dev] psp_handler - embed python in HTML like ASP[Medusa-dev] psp_handler - embed python in HTML like ASPKevin Smith smithk at attbi.com Sun Ap...
分类:编程语言   时间:2014-05-15 01:47:14    阅读次数:326
Mod_python: The Long Story
mod_python: the long story - Grisha TrubetskoyMod_python: The Long StoryOct 25th, 2013 | CommentsThis story started back in 1996. I was in my early tw...
分类:编程语言   时间:2014-05-15 01:46:29    阅读次数:393
Leetcode 线性表 Two Sum
题意:给定一组数和另一个数,在这组数中找两个数,使它们的和等于给定的数 思路1: --> 错,因为题目要求返回下标。 1.排序 2.两个下标,一个指向头,一个指向尾 3.如果下标指向的两个元素相加大于给定的数,尾下标减一 如果小于,头下标加一 思路2: hash 1.用hash存储每个数的下标 2.数组,看hash[target-num[i]]是否存在 复杂度:时间O(n), 空间O(n)...
分类:其他好文   时间:2014-05-15 01:28:13    阅读次数:297
Python3.4 解释一段程序时提示SyntaxError: invalid syntax错误
问题描述: 我用的Python版本是3.4,入股...
分类:编程语言   时间:2014-05-15 01:25:31    阅读次数:289
计数排序
第一、任意一个比较排序算法在最好情况下的时间复杂度也是O(nlogN); 第二、计数排序 假设n个输入元素的每一个都是介于0到k之间的整数,计数排序可用,需要临时存储空间O(K),时间复杂度是O(n). #include using namespace std; void countingSort(int *A,int len,int max) { if(A==NULL || len<...
分类:其他好文   时间:2014-05-14 23:58:58    阅读次数:382
Mod_Python中文文档
Mod_Python中文文档mod_python中文文档
分类:编程语言   时间:2014-05-14 23:31:11    阅读次数:346
为 Python Server Pages 和 Oracle 构建快速 Web 开发环境。
为 Python Server Pages 和 Oracle 构建快速 Web 开发环境。 - 在水一方 - 博客频道 - CSDN.NET为 Python Server Pages 和 Oracle 构建快速 Web 开发环境。 分类: 技术空间 2008-06-12 10:43 301人阅读 评...
分类:数据库   时间:2014-05-14 22:41:57    阅读次数:615
插入排序
插入排序是最基本基于比较的排序方法,其时间复杂度为Ο(n2),最好情况为初始有序,最坏为逆序。 伪代码如下: insertionSort(A,n) for i=1 to n do key=A[i] for j=i-1 to 0 if ar...
分类:其他好文   时间:2014-05-14 22:35:28    阅读次数:326
HOWTO Use Python in the web — Python v3.0.1 documentation
HOWTO Use Python in the web — Python v3.0.1 documentationmod_python?People coming from PHP often find it hard to grasp how to use Python in the web. T...
分类:编程语言   时间:2014-05-14 22:31:33    阅读次数:401
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!