码迷,mamicode.com
首页 >  
搜索关键字:python list    ( 182949个结果
[leetcode]Max Points on a Line @ Python
原题地址:https://oj.leetcode.com/problems/max-points-on-a-line/题意:Givennpoints on a 2D plane, find the maximum number of points that lie on the same strai...
分类:编程语言   时间:2014-06-03 08:55:48    阅读次数:282
62. 链表重排[Reorder List]
reorder list
分类:其他好文   时间:2014-06-03 08:29:16    阅读次数:213
63.如何对单链表进行快排?和数组快排的分析与对比[quicksort of array and linked list]
quick sort of array and linked list
分类:其他好文   时间:2014-06-03 08:16:22    阅读次数:359
【机器学习算法-python实现】决策树-Decision tree(2) 决策树的实现
(转载请注明出处:http://blog.csdn.net/buptgshengod)1.背景 接着上一节说,没看到请先看一下上一节关于数据集的划分数据集划分。如今我们得到了每一个特征值得信息熵增益,我们依照信息熵增益的从大到校的顺序,安排排列为二叉树的节点。数据集和二叉树的图见下。(二叉树的图是....
分类:编程语言   时间:2014-06-03 07:23:48    阅读次数:325
[leetcode]Word Break II @ Python
原题地址:https://oj.leetcode.com/problems/word-break-ii/题意:Given a stringsand a dictionary of wordsdict, add spaces insto construct a sentence where each ...
分类:编程语言   时间:2014-06-03 07:13:21    阅读次数:339
用python做中文自然语言预处理
这篇博客根据中文自然语言预处理的步骤分成几个板块。以做LDA实验为例,在处理数据之前,会写一个类似于实验报告的东西,用来指导做实验,OK,举例:一,实验数据预处理(python,结巴分词)1.对于爬取的评论做分词和词性标注处理(mac-result.txt)2.对于结果只用公版的停用词表去停用词,不...
分类:编程语言   时间:2014-06-03 06:45:21    阅读次数:385
java util 巧用
1 public List getTopicCovers(){2 if(null==topic || StringUtils.isBlank(topic.getCover())){3 return Collections.EMPTY_LIST;4 ...
分类:编程语言   时间:2014-06-03 06:37:29    阅读次数:253
python学习总结
1) vamei 的python教程:Python快速教程
分类:编程语言   时间:2014-06-03 04:14:01    阅读次数:204
[leetcode]Candy @ Python
原题地址:https://oj.leetcode.com/problems/candy/题意:There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to ...
分类:编程语言   时间:2014-05-31 21:58:12    阅读次数:410
[leetcode]Gas Station @ Python
原题地址:https://oj.leetcode.com/problems/gas-station/题意:There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You ha...
分类:编程语言   时间:2014-05-31 16:58:18    阅读次数:259
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!