Redian新闻
>
spg 现在25000的offer都没有了?
avatar
spg 现在25000的offer都没有了?# Money - 海外理财
s*x
1
say when you search on google, they give you list of words for
recommendation. what is the best data structure to store them in memory and
how to store them in disk?
being asked twice, want to make sure I got the correct answer.
thx!
avatar
a*n
2
refer a friend 的link也没了
avatar
j*l
3
trie?
avatar
c*8
4
被大呆搞死了
avatar
s*x
5
that maybe the best answer, regular hashing should work as well I think.
how to store them in disk?

【在 j**l 的大作中提到】
: trie?
avatar
a*0
7
i believe you should store prefix rather than suffix

【在 j**l 的大作中提到】
: trie?
avatar
l*a
9
prefix trie, use alignment algorithm to compute the score for ranking.
avatar
s*x
10

Can you share more about alightment algorithm? Thx!

【在 l*****a 的大作中提到】
: prefix trie, use alignment algorithm to compute the score for ranking.
avatar
z*y
11
顶一个 这个还要写code吗?
avatar
h*d
12
trie is the prefix tree

【在 a*********0 的大作中提到】
: i believe you should store prefix rather than suffix
avatar
a*0
13
really? as far as i know, trie is a suffix tree without path collasping

【在 h**********d 的大作中提到】
: trie is the prefix tree
avatar
h*d
14
http://en.wikipedia.org/wiki/Trie

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