码迷,mamicode.com
首页 >  
搜索关键字:排序 python    ( 180003个结果)
冒泡排序 选择排序 插入排序 java
双向冒泡 1 package com.huang; 2 3 public class _014_bubb_sort { 4 5 int[] b={1,2}; 6 static int a[]={12,4,35,65,43,63,2,6,9,544,43543}; 7 pu...
分类:编程语言   时间:2014-06-10 21:43:40    阅读次数:275
[leetcode]Divide Two Integers @ Python
原题地址:https://oj.leetcode.com/problems/divide-two-integers/题意:Divide two integers without using multiplication, division and mod operator.解题思路:不许用乘、除和求...
分类:编程语言   时间:2014-06-10 21:43:00    阅读次数:267
python2.7.5 +eric4.4.2+PyQt4-4.10.3-gpl-Py2.7-Qt4.8.5-x32.exe
1.安装python 双击运行就可以了当安装好了Pyhon,记得要配置环境变量,把C:\Python27添加到PATH中2.安装pyqt默认安装就可以3.把eric4.4.2拷贝到C:\目录下,点击eric4.4.2中的install.py文件进行安装。4.Pythonw配置:您可以通过点击安装目录...
分类:编程语言   时间:2014-06-10 20:15:47    阅读次数:268
[leetcode]Container With Most Water @ Python
原题地址:https://oj.leetcode.com/problems/container-with-most-water/题意:Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordina...
分类:编程语言   时间:2014-06-10 20:05:44    阅读次数:213
Linux下安装或升级Python 2.7
1.准备编译环境gcc2.去官网下载要安装的对应版本的python的源代码下载地址:https://www.python.org/downloads/source/你可以选择你要下载的版本,用wget指令来下载相应的源代码3.解压下载的代码包tar -zxvf Python-x.x.x.tgzcd ...
分类:编程语言   时间:2014-06-10 19:52:52    阅读次数:240
solr参数说明
q – 查询字符串,必须的。Solr 中用来搜索的查询。有关该语法的完整描述,请参阅参考资料中的 “Lucene QueryParser Syntax”。可以通过追加一个分号和已索引且未进行断词的字段的名称来包含排序信息。默认的排序是score desc,指按记分降序排序。 q=myField:Ja...
分类:其他好文   时间:2014-06-10 19:44:33    阅读次数:200
[leetcode]Roman to Integer @ Python
原题地址:https://oj.leetcode.com/problems/roman-to-integer/题意:Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range f...
分类:编程语言   时间:2014-06-10 19:34:10    阅读次数:255
高性能 Socket 组件 HP-Socket v3.2.1 正式公布
HP-Socket 是一套通用的高性能 TCP/UDP Socket 组件,包括服务端组件、client组件和 Agent 组件,广泛适用于各种不同应用场景的 TCP/UDP 通信系统,提供 C/C++、C#、Delphi、E(易语言)、Java、Python 等编程语言接口。HP-Socket.....
分类:其他好文   时间:2014-06-10 17:16:54    阅读次数:259
编程珠玑--变位词集合
有一步是必须处理的,就是对字符串进行排序;第二步的方法就比较多:(1)采用字符串哈希(求值)(2)排序后转化为24位的位向量(3)直接排序后的字符串作为标识(书上的方法) 1 #include 2 #include 3 #include 4 #include 5 #include 6 #i...
分类:其他好文   时间:2014-06-10 16:08:18    阅读次数:145
[leetcode]Palindrome Number @ Python
原题地址:https://oj.leetcode.com/problems/palindrome-number/题意:Determine whether an integer is a palindrome. Do this without extra space.click to show spo...
分类:编程语言   时间:2014-06-10 16:06:52    阅读次数:286
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!