码迷,mamicode.com
首页 >  
搜索关键字:voting algorithm    ( 11828个结果
一个利用memory block分配机制的高性能的内存管理器类
一个利用memory block分配机制的高性能的内存管理器类...
分类:其他好文   时间:2014-05-10 10:43:38    阅读次数:454
HDU2063(二分匹配入门模板题)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2063 过山车 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 9322    Accepted Submission(...
分类:其他好文   时间:2014-05-10 10:20:15    阅读次数:289
Randomize select algorithm 随机选择算法
从一个序列里面选择第k大的数在没有学习算法导论之前我想最通用的想法是给这个数组排序,然后按照排序结果返回第k大的数值。如果使用排序方法来做的话时间复杂度肯定至少为O(nlgn)。问题是从序列中选择第k大的数完全没有必要来排序,可以采用分治法的思想解决这个问题。Randomize select 算法....
分类:其他好文   时间:2014-05-07 19:23:35    阅读次数:394
CareerCup之1.3字符串去重
【题目】 原文: 1.3 Design an algorithm and write code to remove the duplicate characters in a string without using any additional buffer. NOTE: One or two additional variables are fine. An extra copy of...
分类:其他好文   时间:2014-05-07 08:48:12    阅读次数:372
CareerCup之1.1字符串中字符判重
【题目】 Chapter 1 | Arrays and Strings 原文: 1.1 Implement an algorithm to determine if a string has all unique characters. What if you can not use additional data structures? 译文: 实现一个算法来判断一个字符串中的字符...
分类:其他好文   时间:2014-05-07 04:27:41    阅读次数:312
Cracking the coding interview
CareerCup 目录 Chapter 1 | Arrays and Strings 1.1  Implement an algorithm to determine if a string has all unique characters. What if you can not use additional data structures? 1.2 Write co...
分类:其他好文   时间:2014-05-07 04:25:44    阅读次数:320
hdu4631(set与二分)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4631 Sad Love Story Time Limit: 40000/20000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/Others) Total Submission(s): 1590    Accepted S...
分类:其他好文   时间:2014-05-07 02:40:43    阅读次数:376
扩展封装暴雪哈希算法(blizard hash algorithm),并与STL map进行操作性能上的比较
扩展封装暴雪哈希算法(blizard hash algorithm),并与STL map进行操作性能上的比较...
分类:其他好文   时间:2014-05-04 18:39:07    阅读次数:450
HDU-1015-Safecracker
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1015 深搜简单题 代码如下: #include #include #include #include using namespace std; string a; int t; int v,w,x,y,z; int vis[20]; int b[6]; int flag; int cmp(int...
分类:其他好文   时间:2014-05-04 18:09:00    阅读次数:352
百度技术沙龙 - 大数据场景下主题检索应用
第48期百度技术沙龙上的《大数据场景下主题检索应用》讲座介绍了很多训练大规模主题模型的技术细节。讲座回来后,我粗略整理了下讲座上涉及的主题模型和训练大规模模型相关的资料和文献。 1. 主题模型的发展历史     a. 布尔模型 Boolean model     b. 向量空间模型 VSM (Vector space model)     c. 潜在语义索引 LSI (Latent...
分类:其他好文   时间:2014-05-03 21:40:07    阅读次数:371
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!