Redian新闻
>
estimate the number of unique items
avatar
c*n
2
http://blog.notdot.net/2012/09/Dam-Cool-Algorithms-Cardinality-
a very often-asked question, the above is the defacto standard method used
in many implementations today (including redis) , it's the result of 20
years of research. it's really stupid and unfair to bring this seemingly
simple question to interview, I bet most of the interviewers don't know the
above at all.
avatar
b*5
4
这个我面dataminr的时候, 被问到, 然后给了个bloom filter, 然后就被拒了

the

【在 c******n 的大作中提到】
: http://blog.notdot.net/2012/09/Dam-Cool-Algorithms-Cardinality-
: a very often-asked question, the above is the defacto standard method used
: in many implementations today (including redis) , it's the result of 20
: years of research. it's really stupid and unfair to bring this seemingly
: simple question to interview, I bet most of the interviewers don't know the
: above at all.

avatar
w*z
5
和你说过了,用linear counter,除了刷题,拜托也学学其他的。

【在 b**********5 的大作中提到】
: 这个我面dataminr的时候, 被问到, 然后给了个bloom filter, 然后就被拒了
:
: the

avatar
w*z
6
we use linear counter to count uniques. there is open source implementation.
http://highscalability.com/blog/2012/4/5/big-data-counting-how-

the

【在 c******n 的大作中提到】
: http://blog.notdot.net/2012/09/Dam-Cool-Algorithms-Cardinality-
: a very often-asked question, the above is the defacto standard method used
: in many implementations today (including redis) , it's the result of 20
: years of research. it's really stupid and unfair to bring this seemingly
: simple question to interview, I bet most of the interviewers don't know the
: above at all.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。