Redian新闻
>
被默据了,发amazon面经
avatar
被默据了,发amazon面经# JobHunting - 待字闺中
r*a
1
1. talk about yourself
2. what language are u familiar with
3. talk about one of your project
4. design a dictionary(word, meaning) what data structure? what is the
search complexity?
how hash works in O(1)?
5. what senario you use a tree rather than a hash for this problem
6. write a program. array[int] , find two numbers sum to N.
7. write sql to find out how many numbers do each person have?
PhoneNumbers:
name string
phoneNumber string
phoneNumberType ENUM{"HOME","WORK","CELL"}
avatar
z*h
2
如何知道是默据呢?说不定过段时间有消息。
avatar
p*2
3
电面吗?不算难呀。
avatar
d*o
4
move on,pat
avatar
r*a
5
not that hard. I made each one, but no feedback.The interviewer was a A San.

【在 p*****2 的大作中提到】
: 电面吗?不算难呀。
avatar
p*2
6

San.
多久了?不一定是默剧。

【在 r******a 的大作中提到】
: not that hard. I made each one, but no feedback.The interviewer was a A San.
avatar
y*n
7
amazon也会默剧么. pat pat耐心等等吧
avatar
y*n
8
amazon也会默剧么. pat pat耐心等等吧
avatar
d*o
9
4. design a dictionary(word, meaning) what data structure? what is the
search complexity?
how hash works in O(1)?
5. what senario you use a tree rather than a hash for this problem
这题怎么答?

【在 r******a 的大作中提到】
: 1. talk about yourself
: 2. what language are u familiar with
: 3. talk about one of your project
: 4. design a dictionary(word, meaning) what data structure? what is the
: search complexity?
: how hash works in O(1)?
: 5. what senario you use a tree rather than a hash for this problem
: 6. write a program. array[int] , find two numbers sum to N.
: 7. write sql to find out how many numbers do each person have?
: PhoneNumbers:

avatar
m*a
10
如果要打印字典的话 需要tree,因为需要按字母排序。

【在 d****o 的大作中提到】
: 4. design a dictionary(word, meaning) what data structure? what is the
: search complexity?
: how hash works in O(1)?
: 5. what senario you use a tree rather than a hash for this problem
: 这题怎么答?

avatar
r*a
11
Got the second phone interview invitation after two weeks....

【在 p*****2 的大作中提到】
:
: San.
: 多久了?不一定是默剧。

avatar
p*2
12

cong

【在 r******a 的大作中提到】
: Got the second phone interview invitation after two weeks....
avatar
d*o
13
thanks

【在 m**a 的大作中提到】
: 如果要打印字典的话 需要tree,因为需要按字母排序。
avatar
d*n
14

Not sure how to answer this questions. Hash works in O(1) since it finds the
value by looking at the location of hash(key)? Do we need to explain the
possible hash function and collision resolution?
select name, count(distinct phonenumbertype) from phonenumbers where
phonenumbertype is not null and phonenumber is not null group by name;
Thanks!

【在 r******a 的大作中提到】
: 1. talk about yourself
: 2. what language are u familiar with
: 3. talk about one of your project
: 4. design a dictionary(word, meaning) what data structure? what is the
: search complexity?
: how hash works in O(1)?
: 5. what senario you use a tree rather than a hash for this problem
: 6. write a program. array[int] , find two numbers sum to N.
: 7. write sql to find out how many numbers do each person have?
: PhoneNumbers:

avatar
r*a
15
I gave an example of possible hash function. Let's say the hash value may
refer to the index of an array.If so, we could find that in O(1).

the

【在 d****n 的大作中提到】
:
: Not sure how to answer this questions. Hash works in O(1) since it finds the
: value by looking at the location of hash(key)? Do we need to explain the
: possible hash function and collision resolution?
: select name, count(distinct phonenumbertype) from phonenumbers where
: phonenumbertype is not null and phonenumber is not null group by name;
: Thanks!

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