由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - google phone interview
相关主题
Bloomerg 还没放弃我。 电话二面经过。回馈本版 亚麻A,电话第一轮Software Engineer in 太斯特
F家电面:group Anagrams被bb拒了
菜鸟请教电面写code,能用哪些function,在线等careercup 150一题。 9.2
请教2个 huge file的面试题有人有Cracking the Coding Interview 150题, 5th Edition?
facebook telephone interview from careercup求本书 Cracking Coding Interviews,
问一个 String array sorting 的题。明天面老中,考虑差不多就放水
问个anagram的题目啊仅存onsite一只。。。散尽家财求bless
问一个Anagram的参考程序发一个fb面经
相关话题的讨论汇总
话题: anagram话题: hash话题: describe话题: interview话题: list
进入JobHunting版参与讨论
1 (共1页)
n**********E
发帖数: 157
1
45mins, 3 questions:
1. how to implement priority queue (describe) ?
2. insert a node to a sorted linked list (coding)
3. what data structure to use to store anagram (describe) ? asked the
details
of how to design a proper hash function
m********l
发帖数: 89
2
第三问怎么做了? 各位大牛指点一下。。。
3. what data structure to use to store anagram (describe) ? asked the
details

【在 n**********E 的大作中提到】
: 45mins, 3 questions:
: 1. how to implement priority queue (describe) ?
: 2. insert a node to a sorted linked list (coding)
: 3. what data structure to use to store anagram (describe) ? asked the
: details
: of how to design a proper hash function

t*****j
发帖数: 1105
3
int array[26]?
不晓得这题具体是让干嘛....

【在 m********l 的大作中提到】
: 第三问怎么做了? 各位大牛指点一下。。。
: 3. what data structure to use to store anagram (describe) ? asked the
: details

h***o
发帖数: 1494
4
到底anagram是个什么东西呀?
广看到这个,有谁给举个例子吗?
a****n
发帖数: 1887
5
hash table一般用来找互为anagram的words,
n**********E
发帖数: 157
6

update:
anagram 那道题先问了用什么data structure,回答hash table,然后就问用什么hash
function.最后经过interviewer的无数提示,得到答案。首先找到每一个char对应的
int,然后sort。

【在 n**********E 的大作中提到】
: 45mins, 3 questions:
: 1. how to implement priority queue (describe) ?
: 2. insert a node to a sorted linked list (coding)
: 3. what data structure to use to store anagram (describe) ? asked the
: details
: of how to design a proper hash function

c******t
发帖数: 1500
7
刚google了一下,请问楼主,最后一题是不是“Determine and display all anagrams
in a string array”?
否则有点儿不懂题目的意思,呵呵
a****t
发帖数: 720
8
bless~~~

【在 n**********E 的大作中提到】
: 45mins, 3 questions:
: 1. how to implement priority queue (describe) ?
: 2. insert a node to a sorted linked list (coding)
: 3. what data structure to use to store anagram (describe) ? asked the
: details
: of how to design a proper hash function

x***y
发帖数: 633
9
Then, this is not hash table. It's like a map, which maps the minimum
representation of the anagram to a list of corresponding anagrams.
like "act" can map to the list: "cat act tac"

hash

【在 n**********E 的大作中提到】
:
: update:
: anagram 那道题先问了用什么data structure,回答hash table,然后就问用什么hash
: function.最后经过interviewer的无数提示,得到答案。首先找到每一个char对应的
: int,然后sort。

y*********e
发帖数: 518
10
对头,是一个hash_map。
此题是Programming Pearls上第二章的例题。:)

【在 x***y 的大作中提到】
: Then, this is not hash table. It's like a map, which maps the minimum
: representation of the anagram to a list of corresponding anagrams.
: like "act" can map to the list: "cat act tac"
:
: hash

1 (共1页)
进入JobHunting版参与讨论
相关主题
发一个fb面经facebook telephone interview from careercup
面筋问一个 String array sorting 的题。
G家面经求指点--beanbun--G--dictionary问个anagram的题目啊
最近一些面经问一个Anagram的参考程序
Bloomerg 还没放弃我。 电话二面经过。回馈本版 亚麻A,电话第一轮Software Engineer in 太斯特
F家电面:group Anagrams被bb拒了
菜鸟请教电面写code,能用哪些function,在线等careercup 150一题。 9.2
请教2个 huge file的面试题有人有Cracking the Coding Interview 150题, 5th Edition?
相关话题的讨论汇总
话题: anagram话题: hash话题: describe话题: interview话题: list