minhash是一种基于jaccard index 相似度的算法。属于LSH(Location Sensitive Hash)家族中的一员。 jaccard index :有两个集合A={a , b , c , d , e } ,B={a , e , f , g},根据jaccard inde...
分类:
其他好文 时间:
2014-09-10 12:19:10
阅读次数:
200
Chinese Knot
Time Limit: 2 Seconds Memory Limit: 65536 KB Special Judge
Chinese knot is a decorative handicraft that began as a form of Chinese folk artifact in the Tang and Song Dynas...
分类:
其他好文 时间:
2014-09-10 09:40:50
阅读次数:
304
Snowflake Snow Snowflakes
Time Limit: 4000MS
Memory Limit: 65536K
Total Submissions: 31423
Accepted: 8297
Description
You may have heard that no two snowflakes are al...
分类:
其他好文 时间:
2014-09-09 20:09:19
阅读次数:
259
Help with Intervals
Time Limit: 6000MS
Memory Limit: 131072K
Total Submissions: 10444
Accepted: 2551
Case Time Limit: 2000MS
Description
LogLoader, Inc. is a...
分类:
其他好文 时间:
2014-09-09 18:21:09
阅读次数:
326
一.简易安装打开Sublime text的console.打开console的快捷时ctrl+,或者在菜单栏点击View->Show Sonsole`.打开后将下面的代码复制到console中,注意选择对应的版本。Sublime Text 3import urllib.request,os,hash...
分类:
其他好文 时间:
2014-09-09 18:02:19
阅读次数:
170
工作中会听到各种各样是是而非的词汇,base64,url,sha256,rsa,hash等等,你能很好的分清这些词语吗?这次我想把它们统一的整理说明下:一: 编码编码是信息从一种形式或格式转换为另一种形式的过程,所以他们是可逆的,不能称之为加密。下面列举几个常见的(参考编码那些事):html实体编码...
分类:
其他好文 时间:
2014-09-09 15:47:48
阅读次数:
302
Java 生成字符串的Hash值: /** * A hashing method that changes a string (like a URL) into a hash suitable for using as a * disk filename. */ p...
分类:
编程语言 时间:
2014-09-09 12:18:08
阅读次数:
1072
常见问题:①Top K问题:分治+Trie树/Hash_map+小顶堆。采用Hash(x)%M将原文件分割成小文件,如果小文件太大则继续Hash分割,直至可以放入内存。②重复问题:BitMap位图 或 Bloom Filter布隆过滤器 或 Hash_set集合。每个元素对应一个bit处理。③排序问...
分类:
其他好文 时间:
2014-09-09 11:27:08
阅读次数:
272