由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 那个 google hint words 的老题
相关主题
find top K most occurring words in streaming data 这题怎么做比较好amazon prefix list 用2种方法来解怎么做
一道老题但是以前的解好象都不对word search follow up的问题
问个google老题的最佳解法是不是只要是search都是inverted index?
finds all repeated substrings in the string --- YAHOO interview question请教Word Search II那题的复杂度
什么时候用SUFFIX TREE,什么时候用TRIE问一个G的面试题
单词提示是怎么实现的?问个google面试题
Longest Common Fix一个open question的讨论
Amazon Interview Question问一道老题
相关话题的讨论汇总
话题: trie话题: store话题: words话题: them话题: 老题
进入JobHunting版参与讨论
1 (共1页)
s**x
发帖数: 7506
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!
j**l
发帖数: 2911
2
trie?
s**x
发帖数: 7506
3
that maybe the best answer, regular hashing should work as well I think.
how to store them in disk?

【在 j**l 的大作中提到】
: trie?
a*********0
发帖数: 2727
4
i believe you should store prefix rather than suffix

【在 j**l 的大作中提到】
: trie?
l*****a
发帖数: 559
5
prefix trie, use alignment algorithm to compute the score for ranking.
s**x
发帖数: 7506
6

Can you share more about alightment algorithm? Thx!

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

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

【在 h**********d 的大作中提到】
: trie is the prefix tree
h**********d
发帖数: 4313
10
http://en.wikipedia.org/wiki/Trie

【在 a*********0 的大作中提到】
: really? as far as i know, trie is a suffix tree without path collasping
a*********0
发帖数: 2727
11
i see. actually, there is also suffix trie..
http://marknelson.us/1996/08/01/suffix-trees/

【在 h**********d 的大作中提到】
: http://en.wikipedia.org/wiki/Trie
h**********d
发帖数: 4313
12
interesting..thanks

【在 a*********0 的大作中提到】
: i see. actually, there is also suffix trie..
: http://marknelson.us/1996/08/01/suffix-trees/

1 (共1页)
进入JobHunting版参与讨论
相关主题
问一道老题什么时候用SUFFIX TREE,什么时候用TRIE
问一个老题 longest palindrome单词提示是怎么实现的?
电面不好,求bless。这题怎么答?Longest Common Fix
问道老题Amazon Interview Question
find top K most occurring words in streaming data 这题怎么做比较好amazon prefix list 用2种方法来解怎么做
一道老题但是以前的解好象都不对word search follow up的问题
问个google老题的最佳解法是不是只要是search都是inverted index?
finds all repeated substrings in the string --- YAHOO interview question请教Word Search II那题的复杂度
相关话题的讨论汇总
话题: trie话题: store话题: words话题: them话题: 老题