Redian新闻
>
perm被拒原因是公司责任,是不是必须换公司了.
avatar
perm被拒原因是公司责任,是不是必须换公司了.# EB23 - 劳工卡
r*e
1
本人ECE PhD,方向EDA
前一阵在linkedin上挂了一个详细的简历,之后收到A家recruiter的面试邀请,一看职
位是IMDb.com,心想差的有点远。。果然二面之后杯具了。主要原因还是OOD和开放式
的问题答的不太好,另外在电话里念code非常不熟悉,耗了很多时间。
IMDb是amazon属下的比较独立的一个分支,大概有100多人,最近正在扩张。待遇什么
的跟amazon其他职位一致,但是(号称)运作上相对有自主权。有感兴趣的xdjm可以投
投。
附电话面试题:
一面:
1. write a function to count zero bits in an integer, read code on the phone
2. use OOD to design an HTML parser, list all the classes and methods
其实就是DOM的简化,当时没反应上来,答得不好
3. what’s the difference between old style Python classes and the new style
4. Unix, how to find the file with the longest path name?
5. Unix, a million webpages, each page may have some phone numbers with two
formats (XXX)XXX-XXXX, XXX-XXX-XXXX, how to find them out and update them
6. A million of ids and more coming, how to tell if an id is duplicated.
what data structure, what’s the complexity
7. what if amazon website is slow?
(follow up). what if app server is idling but database server has high load?
(follow up). how to design cache on the app server?
二面:
1. (老题) find out pairs in an array that sum to a given sum.
write code on paper and read to the interviewer (character by character).
2. (OOD) Design classes for actors and movies, implement at least these two
methods:
actors->getMovies()
movies->getActors()
what to do if initializing actors needs the movies objects while
initializing movies needs the actor objects.
how to search for actors that starred in movies that were on show at a given
time.
discuss different approaches.
3. How to improve the current IMDb website, how to design the mobile version
(iphone/Android)
avatar
w*2
2
原因被回答是这样写的,perm 是公司请代理办理的.
The application was denied because the Department of Labor claims that (我的
狗屁500强公司名字) did not certify that all of the conditions of employment
in the application were accurate. The relevant section of the form was
clearly signed by (某狗屁领导的名字), so we believe there is no basis for
the denial. We
will be filing our motion through the government error queue.
是不是没啥希望了.在这个公司白耽误2年.
avatar
M7
3
where is IMDB.com's location?

phone

【在 r*******e 的大作中提到】
: 本人ECE PhD,方向EDA
: 前一阵在linkedin上挂了一个详细的简历,之后收到A家recruiter的面试邀请,一看职
: 位是IMDb.com,心想差的有点远。。果然二面之后杯具了。主要原因还是OOD和开放式
: 的问题答的不太好,另外在电话里念code非常不熟悉,耗了很多时间。
: IMDb是amazon属下的比较独立的一个分支,大概有100多人,最近正在扩张。待遇什么
: 的跟amazon其他职位一致,但是(号称)运作上相对有自主权。有感兴趣的xdjm可以投
: 投。
: 附电话面试题:
: 一面:
: 1. write a function to count zero bits in an integer, read code on the phone

avatar
d*p
4
莫非你没读懂?这个明显不是公司责任,而是移民局错误,公司已经在file motion to
reopen了,你居然这个时候想跳槽?LOL
avatar
r*e
5
也是Seattle

看职
放式
什么
以投

【在 M7 的大作中提到】
: where is IMDB.com's location?
:
: phone

avatar
w*2
6
我怀疑是他们忘签字了,已经audian 过了,给拒的,如果是签了字怎么可能2次都错误了
那.现在他们想过后补签,混过去吧..

to

【在 d*******p 的大作中提到】
: 莫非你没读懂?这个明显不是公司责任,而是移民局错误,公司已经在file motion to
: reopen了,你居然这个时候想跳槽?LOL

avatar
m*v
7
这种ood的题目,真不知道人家要的是什么答案,请高手赐教
avatar
f*g
8
4. Unix, how to find the file with the longest path name?
这个能用1个或者2,3个Unix命令做吗?
估计是要写个Python程序吧。
请高手指教
5. Unix, a million webpages, each page may have some phone numbers with two
formats (XXX)XXX-XXXX, XXX-XXX-XXXX, how to find them out and update them
Update to what?
统一格式?
sed就可以了吧
6. A million of ids and more coming, how to tell if an id is duplicated.
what data structure, what’s the complexity
bitset ?
7. what if amazon website is slow?
(follow up). what if app server is idling but database server has high load?
(follow up). how to design cache on the app server?
楼主怎么答得?学习一下
二面:
2. (OOD) Design classes for actors and movies, implement at least these two
methods:
actors->getMovies()
movies->getActors()
what to do if initializing actors needs the movies objects while
initializing movies needs the actor objects.
how to search for actors that starred in movies that were on show at a given
time.
discuss different approaches.
我的猜测:楼主说solution的是不是两个类:一个actor,另一个是movie。每个类里面
都有一个类似vector的东西,维持关系。这样面试官才会问那个问题。
是不是可以三个类,好像数据库many to many的关系。
actors,movies,relations。
这样是不是可以解决这个问题。
avatar
s*r
9
write a function to count zero bits in an integer,
这个怎么做啊,只知道怎么计算多少个1的

phone

【在 r*******e 的大作中提到】
: 本人ECE PhD,方向EDA
: 前一阵在linkedin上挂了一个详细的简历,之后收到A家recruiter的面试邀请,一看职
: 位是IMDb.com,心想差的有点远。。果然二面之后杯具了。主要原因还是OOD和开放式
: 的问题答的不太好,另外在电话里念code非常不熟悉,耗了很多时间。
: IMDb是amazon属下的比较独立的一个分支,大概有100多人,最近正在扩张。待遇什么
: 的跟amazon其他职位一致,但是(号称)运作上相对有自主权。有感兴趣的xdjm可以投
: 投。
: 附电话面试题:
: 一面:
: 1. write a function to count zero bits in an integer, read code on the phone

avatar
s*n
10
assume integer to be 32bits, then 0's = 32-1's

【在 s*****r 的大作中提到】
: write a function to count zero bits in an integer,
: 这个怎么做啊,只知道怎么计算多少个1的
:
: phone

avatar
H*d
11
pat pat~
IMDB 我也挂过,
他们进去主要用PERL
avatar
p*r
12
技术老了

【在 H**d 的大作中提到】
: pat pat~
: IMDB 我也挂过,
: 他们进去主要用PERL

avatar
l*r
13
知道1不就知道0了。

【在 s*****r 的大作中提到】
: write a function to count zero bits in an integer,
: 这个怎么做啊,只知道怎么计算多少个1的
:
: phone

avatar
j*a
14
bits of 0 or digit 0?

【在 s*****r 的大作中提到】
: write a function to count zero bits in an integer,
: 这个怎么做啊,只知道怎么计算多少个1的
:
: phone

avatar
f*4
15
不用假设,limits.h里面,或者sysconf()可以取到的

【在 s*****n 的大作中提到】
: assume integer to be 32bits, then 0's = 32-1's
avatar
s*n
16
sizeof()*8就行了.
另外:. Unix, how to find the file with the longest path name?
这个有强人说一下吗?

【在 f****4 的大作中提到】
: 不用假设,limits.h里面,或者sysconf()可以取到的
avatar
r*n
17
先取反

【在 s*****r 的大作中提到】
: write a function to count zero bits in an integer,
: 这个怎么做啊,只知道怎么计算多少个1的
:
: phone

avatar
l*a
18
总算来个明白人

【在 r*******n 的大作中提到】
: 先取反
avatar
C*y
19
这跟先算1的个数,再减有啥本质区别?

【在 l*****a 的大作中提到】
: 总算来个明白人
avatar
r*e
20
我面试的时候没有想到很tricky的办法
当时回答的是 find / 列出所有的path name,然后用awk找出最长的一行
interviewer说可以接受

【在 s*****n 的大作中提到】
: sizeof()*8就行了.
: 另外:. Unix, how to find the file with the longest path name?
: 这个有强人说一下吗?

avatar
l*a
21
你用什么减?

【在 C***y 的大作中提到】
: 这跟先算1的个数,再减有啥本质区别?
avatar
C*y
22
32, 呵呵
前面有人提到了去头文件中找
如果是我的话,我就说去arch目录下找
当然去反是最简单的了

【在 l*****a 的大作中提到】
: 你用什么减?
avatar
E*n
23
请问能给出具体的awk命令吗?

【在 r*******e 的大作中提到】
: 我面试的时候没有想到很tricky的办法
: 当时回答的是 find / 列出所有的path name,然后用awk找出最长的一行
: interviewer说可以接受

avatar
r*e
24
找出系统里最长的path name
find / | awk -f t.awk
t.awk内容
BEGIN {longest = 0}
{
if ( length($0) > longest)
{
longest = length($0)
line = $0
}
}
END { print line }

【在 E***n 的大作中提到】
: 请问能给出具体的awk命令吗?
avatar
l*a
25
u mean there are 30(32-2) zeros in 101?
two 1 in 101.
then 32-2 0 in 101
right?

【在 C***y 的大作中提到】
: 32, 呵呵
: 前面有人提到了去头文件中找
: 如果是我的话,我就说去arch目录下找
: 当然去反是最简单的了

avatar
r*e
26
数0本来就应该包括leading zeros吧
你取反再数1,高位的1也得算上

【在 l*****a 的大作中提到】
: u mean there are 30(32-2) zeros in 101?
: two 1 in 101.
: then 32-2 0 in 101
: right?

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