由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - M面完焦急等待中。。。。。大家看看我是个什么水平?
相关主题
G家电面,这回肯定挂了。附面经。leetcode上wild match
GOOG intern interview 题目H1B 概率最低事多少(对于adv degree)
1道brianbench 的题 c++感觉G家面试还是和面的组工作内容略微相关的
Facebook phone screenwordbreak in C?
谁能给个hashset实现的例子么?问一道题 实现malloc
请教一个字符串比较排序的问题 (转载)FB第二轮电面记录
上面经,明天G onsite, 求祝福问一个有关c++ strcmp的问题
问到算法题和一道c++题A network question
相关话题的讨论汇总
话题: sdet话题: char话题: hiring话题: xor话题: bug
进入JobHunting版参与讨论
1 (共1页)
c********1
发帖数: 161
1
我是这周三面试的,周四回来歇了两天,压跟就没有心情来版上询问。我总共面了6个
人,5个
leader(真的各个title都是leader or senior leader,我就纳闷,M家木有engineer
吗?)和一
个PM。 问题比较简单,
实现strcmp,
实现malloc and free,讨论memory leak怎么解决,以及memory fragment问题
pointer问题(这个问的很杂,比如什么指针存的是一个已经out of scope的address之
后会发生
什么之类的,具体记不清楚了)
multi-processor相关问题,比如multi-processor的机器实现lock要怎么做,我好像说
了memory
bus之类的,中断这时候不起作用了。
Open question(这个问题我用数学模型解释,以至于面我的人以为我是Math的。。。
。。。。。

reverse string(我被问到时很无语,面试官貌似对我的回答也很无语。。。。。。。
因为我说
这道题太简单了,能不能换个难点的,他还是让我写,写完他看完就没说啥了。。。。
。我非常
无语)
第四个面试官在结束的时候说还让我见两个,于是我就去了,累,最后一个总问我
behaviour和我
的interest,没问一点技术,总为我对什么感兴趣,然后把好几个组的方向给我说了下
,大概就
是既有底层又有high level的组,我当时就想,快结束吧,累死人了,问的基本是硬件
知识。。
。。。NND,老子学的不是硬件啊!!!
大家看我的这次面试是个神马水平?
g*********s
发帖数: 1782
2
what group? recruiter wrongly route your resume?

engineer

【在 c********1 的大作中提到】
: 我是这周三面试的,周四回来歇了两天,压跟就没有心情来版上询问。我总共面了6个
: 人,5个
: leader(真的各个title都是leader or senior leader,我就纳闷,M家木有engineer
: 吗?)和一
: 个PM。 问题比较简单,
: 实现strcmp,
: 实现malloc and free,讨论memory leak怎么解决,以及memory fragment问题
: pointer问题(这个问的很杂,比如什么指针存的是一个已经out of scope的address之
: 后会发生
: 什么之类的,具体记不清楚了)

k******r
发帖数: 2300
3
revese string 还是有些名堂的。比如涉及参数的设计还有就是你可能首先问是不是需
要in-place reverse string. 如果 interviewer 跟你讨论多种方式实现,还是颇能考
察一个人的coding能力的.

engineer

【在 c********1 的大作中提到】
: 我是这周三面试的,周四回来歇了两天,压跟就没有心情来版上询问。我总共面了6个
: 人,5个
: leader(真的各个title都是leader or senior leader,我就纳闷,M家木有engineer
: 吗?)和一
: 个PM。 问题比较简单,
: 实现strcmp,
: 实现malloc and free,讨论memory leak怎么解决,以及memory fragment问题
: pointer问题(这个问的很杂,比如什么指针存的是一个已经out of scope的address之
: 后会发生
: 什么之类的,具体记不清楚了)

c********1
发帖数: 161
4
唉,是windows组,recruiter木有弄错,我的简历也木有错。。。。。至于reverse
string,他后来说不用任何temp char怎么做,我就写了,他就没说什么了。就这样。
k******r
发帖数: 2300
5
你是PHD 还是MS? 那个实现malloc and free是什么意思?请问你怎么回答memory
leak怎么解决的问题? 这好像是个很典型的问题。

engineer

【在 c********1 的大作中提到】
: 我是这周三面试的,周四回来歇了两天,压跟就没有心情来版上询问。我总共面了6个
: 人,5个
: leader(真的各个title都是leader or senior leader,我就纳闷,M家木有engineer
: 吗?)和一
: 个PM。 问题比较简单,
: 实现strcmp,
: 实现malloc and free,讨论memory leak怎么解决,以及memory fragment问题
: pointer问题(这个问的很杂,比如什么指针存的是一个已经out of scope的address之
: 后会发生
: 什么之类的,具体记不清楚了)

c********1
发帖数: 161
6
我是MS,就是问怎么实现malloc和free,在讨论这个问题的时候,说如果malloc和
free的操作不当,可能造成memory leak,任何就讨论memory leak了,malloc 是还有
一个fragment的问题,也说了怎么解决。
c***2
发帖数: 838
7
agree.
1) in place
char *reverse(char *str)
2) into another buf version 1
char *reverse(const char *src, char *dst)
3) into another buf version 2
char *reverse(const char *src)

【在 k******r 的大作中提到】
: revese string 还是有些名堂的。比如涉及参数的设计还有就是你可能首先问是不是需
: 要in-place reverse string. 如果 interviewer 跟你讨论多种方式实现,还是颇能考
: 察一个人的coding能力的.
:
: engineer

c********1
发帖数: 161
8
大家觉得我的据信是不是快了?M家面试一般什么道道?现在还木有消息。
g*********s
发帖数: 1782
9
the 3rd is not recommended.

【在 c***2 的大作中提到】
: agree.
: 1) in place
: char *reverse(char *str)
: 2) into another buf version 1
: char *reverse(const char *src, char *dst)
: 3) into another buf version 2
: char *reverse(const char *src)

g*********s
发帖数: 1782
10
so the trick is 0-temp swap?

【在 c********1 的大作中提到】
: 唉,是windows组,recruiter木有弄错,我的简历也木有错。。。。。至于reverse
: string,他后来说不用任何temp char怎么做,我就写了,他就没说什么了。就这样。

相关主题
请教一个字符串比较排序的问题 (转载)leetcode上wild match
上面经,明天G onsite, 求祝福H1B 概率最低事多少(对于adv degree)
问到算法题和一道c++题感觉G家面试还是和面的组工作内容略微相关的
进入JobHunting版参与讨论
c********1
发帖数: 161
11

是的。

【在 g*********s 的大作中提到】
: so the trick is 0-temp swap?
c***2
发帖数: 838
12
1) If most of the questions are so simple, why were you getting so tired
2) MS wants to see "BUG FREE" codes, not simply a solution
I did a long discussion with a very senior MS engineer about this.
The point is that you must consider all possible things when you do
coding for Windows/Office since billions of people use it every day. Any
hidden bug/error will be discovered quickly.

engineer

【在 c********1 的大作中提到】
: 我是这周三面试的,周四回来歇了两天,压跟就没有心情来版上询问。我总共面了6个
: 人,5个
: leader(真的各个title都是leader or senior leader,我就纳闷,M家木有engineer
: 吗?)和一
: 个PM。 问题比较简单,
: 实现strcmp,
: 实现malloc and free,讨论memory leak怎么解决,以及memory fragment问题
: pointer问题(这个问的很杂,比如什么指针存的是一个已经out of scope的address之
: 后会发生
: 什么之类的,具体记不清楚了)

c***2
发帖数: 838
13
right. but strdup is quite popular and handy. :-)

【在 g*********s 的大作中提到】
: the 3rd is not recommended.
c********1
发帖数: 161
14
累是因为飞机做的,没缓过来就去面试了,而且从10点面到人家都下班了。我最怕
behaviour问题了。
g*********s
发帖数: 1782
15
few engineers can write bug free code in one pass. otherwise why msft hiring
so many sdet?
it's just supply and demand. "bug free" is a valid excuse to filter out
candidates, although in the real work it is impossible.

【在 c***2 的大作中提到】
: 1) If most of the questions are so simple, why were you getting so tired
: 2) MS wants to see "BUG FREE" codes, not simply a solution
: I did a long discussion with a very senior MS engineer about this.
: The point is that you must consider all possible things when you do
: coding for Windows/Office since billions of people use it every day. Any
: hidden bug/error will be discovered quickly.
:
: engineer

s*****y
发帖数: 897
16
Agree.
*% time of software engineer's time are just fixing bugs.
Fixing one bug then generate another bug.

hiring

【在 g*********s 的大作中提到】
: few engineers can write bug free code in one pass. otherwise why msft hiring
: so many sdet?
: it's just supply and demand. "bug free" is a valid excuse to filter out
: candidates, although in the real work it is impossible.

j***i
发帖数: 1278
17
how to do it ?

【在 g*********s 的大作中提到】
: so the trick is 0-temp swap?
c********1
发帖数: 161
18

用bitwise xor 或者是 加减乘除就能做到,不用临时char

【在 j***i 的大作中提到】
: how to do it ?
g*********s
发帖数: 1782
19
xor
x = x^y
y = x^y
x = x^y

【在 j***i 的大作中提到】
: how to do it ?
c********1
发帖数: 161
20
大家都说要是能见到hiring manager就是有戏了,我见了6个人都没一个hiring
manager。。。。。。 555555,这也是我心力交瘁的原因之一。
相关主题
wordbreak in C?问一个有关c++ strcmp的问题
问一道题 实现mallocA network question
FB第二轮电面记录这个为啥是undefined behavior?
进入JobHunting版参与讨论
j***i
发帖数: 1278
21
i see, 加减 要是overflow 了怎么办

【在 c********1 的大作中提到】
: 大家都说要是能见到hiring manager就是有戏了,我见了6个人都没一个hiring
: manager。。。。。。 555555,这也是我心力交瘁的原因之一。

g*********s
发帖数: 1782
22
that's a problem. so xor is better.

【在 j***i 的大作中提到】
: i see, 加减 要是overflow 了怎么办
c********1
发帖数: 161
23
忘说了。。。。嗯,integer overflow的确是个问题。。。。。。看来挂这上面了。
m****9
发帖数: 492
24
是面的fulltime SDE么?我周五刚面完,不过我面的是Intern,没见到Hiring Manager。

engineer

【在 c********1 的大作中提到】
: 我是这周三面试的,周四回来歇了两天,压跟就没有心情来版上询问。我总共面了6个
: 人,5个
: leader(真的各个title都是leader or senior leader,我就纳闷,M家木有engineer
: 吗?)和一
: 个PM。 问题比较简单,
: 实现strcmp,
: 实现malloc and free,讨论memory leak怎么解决,以及memory fragment问题
: pointer问题(这个问的很杂,比如什么指针存的是一个已经out of scope的address之
: 后会发生
: 什么之类的,具体记不清楚了)

c********1
发帖数: 161
25

Manager。
是SDET, 我没见到hiring manager。。。。。。 就是最后一个人木有问我技术,一直
再问有的
没的interest,还有对未来神马计算机发展方向的畅想。。。。。。云里雾里。

【在 m****9 的大作中提到】
: 是面的fulltime SDE么?我周五刚面完,不过我面的是Intern,没见到Hiring Manager。
:
: engineer

j***i
发帖数: 1278
26
第二个return char*为什么?
c***2
发帖数: 838
27
I see.
I was lucky then: saw 3 persons from 12:00pm to 3:00pm including one lunch
interview. I feel it was a waste of 2 nights hotel. :-)

【在 c********1 的大作中提到】
: 累是因为飞机做的,没缓过来就去面试了,而且从10点面到人家都下班了。我最怕
: behaviour问题了。

c***2
发帖数: 838
28
for SDET, they are looking for 2 things:
1) love testing
2) know how to approach testing systematically
I did not pass the interview although the technical questions are very
simple too. :-)

【在 c********1 的大作中提到】
:
: Manager。
: 是SDET, 我没见到hiring manager。。。。。。 就是最后一个人木有问我技术,一直
: 再问有的
: 没的interest,还有对未来神马计算机发展方向的畅想。。。。。。云里雾里。

c***2
发帖数: 838
29
there is another problem with +/- see my earlier posting:
http://www.mitbbs.com/article_t0/JobHunting/31804797.html

【在 g*********s 的大作中提到】
: that's a problem. so xor is better.
c********1
发帖数: 161
30

其实在面试的时候,我就想说,你们要是不要我,就别托着面我算了啊,折磨人啊。

【在 c***2 的大作中提到】
: for SDET, they are looking for 2 things:
: 1) love testing
: 2) know how to approach testing systematically
: I did not pass the interview although the technical questions are very
: simple too. :-)

相关主题
bing面经GOOG intern interview 题目
[合集] bloomberg面试教训1道brianbench 的题 c++
G家电面,这回肯定挂了。附面经。Facebook phone screen
进入JobHunting版参与讨论
c***2
发帖数: 838
31
Msft is very short of SDET
The key thing is whether you want to be a SDET
from my experience, if I express a little more "love" to testing, they will
definitely offer me.
they can easily feel or see whether you really want to do SDET

【在 c********1 的大作中提到】
:
: 其实在面试的时候,我就想说,你们要是不要我,就别托着面我算了啊,折磨人啊。

c********1
发帖数: 161
32

will
I see..............
But I never show the interest in testing except I explained that I spent
almost all
my time during my master's study in software testing since I concentrated in
this
area. They seems would like me to show my interests in hardware, kernel,
driver which
I am not so familiar with.....

【在 c***2 的大作中提到】
: Msft is very short of SDET
: The key thing is whether you want to be a SDET
: from my experience, if I express a little more "love" to testing, they will
: definitely offer me.
: they can easily feel or see whether you really want to do SDET

d********u
发帖数: 5383
33
问你喜欢什么你就直说我喜欢这个,对那个不熟悉,有兴趣搞一下,我想我可以PICKUP...
直接了当.工作的人不喜欢绕圈子.
你懂不懂硬件根本就无所谓。你真的以为你懂软件吗?进去都是要学的。他们想知道的
是你
1。有根底 -- 棒槌就算了。
2。聪明 -- 脑残和果轮直接排除。
3。愿意刻苦 -- 大爷请绕行。
我觉得你差不多。

in

【在 c********1 的大作中提到】
:
: will
: I see..............
: But I never show the interest in testing except I explained that I spent
: almost all
: my time during my master's study in software testing since I concentrated in
: this
: area. They seems would like me to show my interests in hardware, kernel,
: driver which
: I am not so familiar with.....

s*****y
发帖数: 897
34
why MS ask so many hardware question?
Is this a embedded position?

..

【在 d********u 的大作中提到】
: 问你喜欢什么你就直说我喜欢这个,对那个不熟悉,有兴趣搞一下,我想我可以PICKUP...
: 直接了当.工作的人不喜欢绕圈子.
: 你懂不懂硬件根本就无所谓。你真的以为你懂软件吗?进去都是要学的。他们想知道的
: 是你
: 1。有根底 -- 棒槌就算了。
: 2。聪明 -- 脑残和果轮直接排除。
: 3。愿意刻苦 -- 大爷请绕行。
: 我觉得你差不多。
:
: in

c********1
发帖数: 161
35

..
当时他们说问了我很多很fundamental的tech question(前四轮全是fundamental的
tech
questions,有些我不会,有些multi-processor的我真的不怎么清楚,他们还问了我C
是怎么管理
stack的,我谈了frame及每个variable被设了不同的level,不同level的visibility的
问题--好
像叫symbol table啥的,当时忘说了,实在是没想起来这个词啊。。。。),于是就说
我是不是
对fundamental的东西非常感兴趣,为什么感兴趣之类的。。。。。
我就说我感兴趣是因为基础的东西才是CS的精髓之类,说high level无论怎么变,
essential的东
西都是万变不离其宗云云,他就问我平时爱看神马tech的书,我说MSDN...... 老子貌
似还真的就
只看网上的MSDN......想憋出个magazine的名字都不知道。。。。。。。伤心啊。

【在 d********u 的大作中提到】
: 问你喜欢什么你就直说我喜欢这个,对那个不熟悉,有兴趣搞一下,我想我可以PICKUP...
: 直接了当.工作的人不喜欢绕圈子.
: 你懂不懂硬件根本就无所谓。你真的以为你懂软件吗?进去都是要学的。他们想知道的
: 是你
: 1。有根底 -- 棒槌就算了。
: 2。聪明 -- 脑残和果轮直接排除。
: 3。愿意刻苦 -- 大爷请绕行。
: 我觉得你差不多。
:
: in

c********1
发帖数: 161
36

不是,但是他们就是问了,可能是因为他们觉得我对fundamental的东西感兴趣吧,只
要一问
fundamental的东西,比如CPU time, interupts, multi-processor,就必然牵扯出
很多硬件知
识。貌似除了fundamental的东西,没问什么high level的系统设计,连tree都没问。

【在 s*****y 的大作中提到】
: why MS ask so many hardware question?
: Is this a embedded position?
:
: ..

s**n
发帖数: 396
37
问你lock,肯定会扯到硬件方面的。比如cache line size对lock的影响。

【在 s*****y 的大作中提到】
: why MS ask so many hardware question?
: Is this a embedded position?
:
: ..

s**n
发帖数: 396
38
是,面试人一般会找申请人比较comfortable的方面问。以前有次面试,有个小孩跟我
说了半天他数学功底好,于是我就让他写个求平方根的程序,不过他写的不好。我就不
继续问难的了

【在 c********1 的大作中提到】
:
: 不是,但是他们就是问了,可能是因为他们觉得我对fundamental的东西感兴趣吧,只
: 要一问
: fundamental的东西,比如CPU time, interupts, multi-processor,就必然牵扯出
: 很多硬件知
: 识。貌似除了fundamental的东西,没问什么high level的系统设计,连tree都没问。

c********1
发帖数: 161
39
大家说说我有希望吗? 我也没问,不知道见到了hiring manager没有,我也看不出来
哪个是hiring manager,哪个不是。
s**n
发帖数: 396
40
不同group不一样,自己问HR吧

【在 c********1 的大作中提到】
: 大家说说我有希望吗? 我也没问,不知道见到了hiring manager没有,我也看不出来
: 哪个是hiring manager,哪个不是。

相关主题
Facebook phone screen上面经,明天G onsite, 求祝福
谁能给个hashset实现的例子么?问到算法题和一道c++题
请教一个字符串比较排序的问题 (转载)leetcode上wild match
进入JobHunting版参与讨论
c********1
发帖数: 161
41
我是面试前一天HR给我电话交代了情况,然后我面试当天直接去找interviewer了,没
有见HR,周末HR也不给回信。另外,我觉得我面试没犯多少错误,当然答得也一般,就
是最后那个面我的人问了我很多interests把我问晕了。心里就开始六神无主了。。。
。唉。。。。到现在HR也没给个回信。都这么多天了。
C***y
发帖数: 2546
42
你见了这么多人,希望肯定是很大的
要不3轮就让你走人了
btw:我怎么记得楼主前不久面过一次

【在 c********1 的大作中提到】
: 大家说说我有希望吗? 我也没问,不知道见到了hiring manager没有,我也看不出来
: 哪个是hiring manager,哪个不是。

c********1
发帖数: 161
43
是滴,那次情况特殊,木有给我电面就让我去onsite,结果去了,我就complain了,只
有反正换了recruiter,几经折腾,这是第二次。
C*****n
发帖数: 1872
44
好事多磨
个人建议,如果没有别的offer,最好耐心等待

【在 c********1 的大作中提到】
: 是滴,那次情况特殊,木有给我电面就让我去onsite,结果去了,我就complain了,只
: 有反正换了recruiter,几经折腾,这是第二次。

c********1
发帖数: 161
45
是不是面完offer2-3天给,据信一周内收到?
c********1
发帖数: 161
46
要淡定真的好难啊!
c***2
发帖数: 838
47
It seems you really want the offer. :-)
If you don't care too much, it's easy to 淡定.

【在 c********1 的大作中提到】
: 要淡定真的好难啊!
c********1
发帖数: 161
48
上周三面的,现在都没有个音信,想不急也难啊,要么给个痛快也行啊!
p*****a
发帖数: 147
49
这个cache line size对lock有什么影响?

【在 s**n 的大作中提到】
: 问你lock,肯定会扯到硬件方面的。比如cache line size对lock的影响。
s*****y
发帖数: 897
50
co - ask?

【在 p*****a 的大作中提到】
: 这个cache line size对lock有什么影响?
相关主题
H1B 概率最低事多少(对于adv degree)问一道题 实现malloc
感觉G家面试还是和面的组工作内容略微相关的FB第二轮电面记录
wordbreak in C?问一个有关c++ strcmp的问题
进入JobHunting版参与讨论
c********a
发帖数: 26
51
没消息就是好消息
要是坏消息早就告诉你了,不用等那么久的
1 (共1页)
进入JobHunting版参与讨论
相关主题
A network question谁能给个hashset实现的例子么?
这个为啥是undefined behavior?请教一个字符串比较排序的问题 (转载)
bing面经上面经,明天G onsite, 求祝福
[合集] bloomberg面试教训问到算法题和一道c++题
G家电面,这回肯定挂了。附面经。leetcode上wild match
GOOG intern interview 题目H1B 概率最低事多少(对于adv degree)
1道brianbench 的题 c++感觉G家面试还是和面的组工作内容略微相关的
Facebook phone screenwordbreak in C?
相关话题的讨论汇总
话题: sdet话题: char话题: hiring话题: xor话题: bug