由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - [合集] guangyi的面经和总结
相关主题
谁有G面经总结? 跪求!![合集] System design总结
有人总结LinkedIn 的面经么??[合集] 给作者: 报google nyc offer,并分享面经
微软谷歌yelp自己的面经+总结[合集] Facebook被拒,写个面经
[包子已发完] Offer 到手~~ 发包子60个[合集] A onsite被拒,面经,求分析失败原因
[合集] 个人经验总结 H1b,H1b transfer,H1b change of status to F1[合集] Zygna实习面经+求offer建议
[合集] 献给战斗中的兄弟姐妹!找工作总结篇[合集] 报Apple Offer及面经
[合集] ASCII字符发音总结[合集] Amazon onsite 面经
[合集] 我也来报个offer,算是总结下吧[合集] 求祝福。攒RP. 发些收集到的Google的面经
相关话题的讨论汇总
话题: guangyi话题: 面经
进入JobHunting版参与讨论
1 (共1页)
G******i
发帖数: 5226
1
☆─────────────────────────────────────☆
guangyi ( 光一) 于 (Sat Oct 29 00:10:37 2011, 美东) 提到:
**********************************
M:
phone interview (1 round):
why MS?
biggest challenge
why like coding and algorithm?
what is good code?
your longest code
biggest accomplishment
if you don't want some functions to be modified in java, what to do?
does java allow multiple inheritance?
what does synchronized keyword mean in java?
CEO wants a book, you find it in the system of a nearby bookshop. You went
to the bookshop but fail to find, you have 5 minutes, what will you do?
you have to test 10 features but you only have time for 5 features, what
will you do?
how do you priorize features?
what's your interest/ preferred group?
Onsite (university recruiting event, 4 round):
1. a file with unknown number of float number, how to sort.
2. some behavior questions and questions for my research
3. chess game: knight move from a starting point to an end point, find
shortest path
4. debug question and a mathmatical question
5. find words that appear twice in a book/string
4论面试分工明确,一轮sort,一轮graph search,一轮debug和数学不需要写code,一轮算
自然语言处理吧.程序没写完也没事,总体框架思路比较重要.
**********************************
A:
phone interview (2 round)
1.insert node in BST
2. find most frequently word in a file
3. 写了一个文件操作的程序
onsite (6 round):
1.find first unique character of a string .
2. How does hashmap work?
3.describe an algorithm to schedule jobs, each job depend on some other jobs
. How to detect cycle?
4.find intersections of two sorted/unsorted arrays? what if the sorted
arrays follows uniform distribution?
5.data structure for arithmatic expression? What OOD principal should you
use? What design pattern to use if you need to add many functions to your
data structure?
6. server client, back end server only accept 1 request/second. How to deal
with many clients with many requests?
7. level order print tree
8. string to integer
9. why amazon? what can you improve in amazon? what do you know about amazon?
还有几道和他们组相关的题目,问了我自己的research.
大多数题目要写code
************************************
F:
phone interview (2 round):
1.given a function which reads data from a data resource "int recv(char *buf
, int len)", implment a function readLine();
2. implment LRU cache
onsite (university recruiting event, 4 round for phd, 3 round for master)
1.remove duplicates from a list of numbers
2. password permutation (lowercase and uppercase change. E.g, abcd -> Abcd,
aBCD,... 顺序不变)
3. longest increase sequence for an integer list
4. LRU / search in rotated array / implement queue using stacks 这几题我要么
电面问过了要么网上看过,所以面试官换题目了,当时应该装一下的
5. find number of unique numbers in a stream input of integers. need
accurate number if the result is small, need rough number if the result is
large.
5. 一些和facebook相关的system design.网页上用markup language define了一些
object, how to store these objects, how to define relationship between
objects and users, how to search for relationship, how to find recently
listened song by one user, one song may be listend by the same user in
multiple times. etc.
addtional phone interview after onsite:
1.how to implement news feed in Facebook
2.how do you store user activies?
3.how to generate updates to facebook users who have just logged in?
4.new contents, how to store? if push to main databases, they will crash.
5.how do you rank top stories?
6.how to implement the like function
7.Memecache two strategies:look inside cache, write through cache,describe
pron & con
8.Search system has two strategies for inverted index,term shotting,document
shotting, describe pron & con
F家面试题目一般都不难,但是他们期望你写程序要快,准确,bug尽量没有.我onsite后又
被问了电面了一轮系统设计,这方面自己没有任何经验也没准备过,回答的比较差.朋友
说一般fresh不问系统设计的,可能对phd要求高吧.另外比较奇怪的是onsite的时候10点
到,然后听了2小时seminar介绍Fb的生活,1小时吃饭,半小时tour,下午2点才开始正式面
试,好多名校的本科生来面试.
*****************************************
G:
签了NDA并且准备去G,所以就不说题目了,可以看看尘埃落定的题目,难题不多.电面一轮
,onsite是4轮+lunch interview.
*****************************************
我走的是题海战术,主要看了:
interview exposed
careercup 150
mitbbs的面经,这里有总结
http://www.mitbbs.com/article_t/JobHunting/31827445.html
sureinterview
1337的网站
Hacking a Google interview
基本都看了2遍,第一遍学习,第二遍要求自己会做并对大多数题能直接写出code.写code
直接在textpad或者纸上写. interview exposed比较适合新手,解释的比较好.1337的网
站也很好,解释的特别细致,上面的题目稍微难点. mitbbs的面经很多没有答案,自己可
以去网上找找.
OOD和design pattern主要看了head first的两本书,design pattern就看了最主要的几个,面试过程中问的不多.书在这里有下载链接:
http://www.mitbbs.com/article/JobHunting/31793581_0.html
Stanford CS Education Library也看了下 http://cslibrary.stanford.edu/
topcoder的tutorial看了一部分,在practice room练了少量程序.
wikipedia是个好地方,很多算法都有细致的讨论,源代码,应用.对系统学习某个topic和
数据结构很有帮助.
题海战术知识点容易有漏洞,板上前人总结的一些topic可以用来弥补自己的知识点:
比如jinfeng的总结: http://www.mitbbs.com/article_t/JobHunting/31716067.html
自己不熟悉的topic可以多google/baidu下,看看一些学校cs dept上课用的ppt或者国内
牛人的blog都不错.
我面试用的是java,花了1周多看了oracle的java tutorial,学了很多以前不注意的细节
和java的新feature,面试的时候也被问了几次java的细节问题.
作为非cs的phd我觉得这几方面光靠面经不够,要稍微花点心思:
1.多线程 2.海量数据处理 3.分布式计算的一些基本概念 4.OOD & design pattern
另外板上的讨论是非常有用的.每个时期都有些牛人在板上无私的贡献着,我准备的这段
期间有幸从牛人们这里学习了很多思路和写代码的方法,比如ihasleetcode,火鸡,
darksteel,han6, PixelClassic等等. 以前牛人总结的面经和复习方法等也是非常有用
的. 也建议大家多做笔记,对一些经常被问的topic做系统学习和总结,这些学习方法在
前人的总结里都提到很多次了,就不重复了.
最后说点非技术性的心得:
1. behavior question要准备下
2. 面试的时候要有自信,交流的时候语气语态都要给人一种正面的影响.我遇到一些女
生提问或者解题的时候声音很轻,明显不自信,这样给面试官的印象也不好.
3. 有些题目答的不好,也要尽量尝试多种思路,向面试官展示你思维的多样性. 如果能
逼问出正确的解法并且你对此解法有所了解,可以借机阐述你对这解法的理解(应用,复
杂度,优点,缺点等).总之抓住一切机会推销你自己.
4. 要放松,不要负担太重,不要老想着这是dream company我一定要把握住之类的东西.
把面试当作和同事的技术交流,这家公司不要我可以去下一家,有很多的IT公司,比国内
高考一锤定音要好太多了.
5.复习的时候如果能找到几个一起找工作的同学一起复习效果很好,大家可以交流看到
的好题目.
6.阿三确实比较刁难...... 大家以后要团结起来,多照顾华人同胞啊.我面试的时候内
推的素不相识的同胞,面试的同胞都很友善,非常感谢他们.
天道酬勤,祝福大家都能早日找到满意的工作.记得找到工作后来发面经和心得,也希望
能多报offer和offer细节帮助后人了解市场行情,我就是看了PixelClassic的offer受到
刺激才开始努力学习的.
☆─────────────────────────────────────☆
Bayesian1 (Jason) 于 (Sat Oct 29 00:22:21 2011, 美东) 提到:
cong niu

☆─────────────────────────────────────☆
Mrainy (Mrainy) 于 (Sat Oct 29 00:24:51 2011, 美东) 提到:
恭喜加感谢!虽然我不是CS。。。
☆─────────────────────────────────────☆
Otpisani (黑名单上的人) 于 (Sat Oct 29 00:26:55 2011, 美东) 提到:
前面部分的具体题目不是本文的重点,真正的精华在后半部
*****************************************
我走的是题海战术,主要看了
...
☆─────────────────────────────────────☆
yangcheng (牛魔王) 于 (Sat Oct 29 00:28:07 2011, 美东) 提到:
你是非cs的?
太牛了
☆─────────────────────────────────────☆
Bayesian1 (Jason) 于 (Sat Oct 29 00:31:39 2011, 美东) 提到:
2.海量数据处理 3.分布式计算的一些基本概念
主要看什么好啊?
☆─────────────────────────────────────☆
Otpisani (黑名单上的人) 于 (Sat Oct 29 00:32:54 2011, 美东) 提到:
台上三分钟,台下十年功,题海战术 + 它山之石 + 自信 + 多总结 + ...
☆─────────────────────────────────────☆
yangcheng (牛魔王) 于 (Sat Oct 29 00:33:26 2011, 美东) 提到:
我觉得google的那几篇paper是经典,gfs,map-reduce , bigtable
☆─────────────────────────────────────☆
guangyi ( 光一) 于 (Sat Oct 29 00:36:19 2011, 美东) 提到:
本科cs的,重新抓起来不算太吃力,
☆─────────────────────────────────────☆
guangyi ( 光一) 于 (Sat Oct 29 00:37:06 2011, 美东) 提到:
google"海量数据处理",前几个blog的帖子很好
☆─────────────────────────────────────☆
xicheng17 (super) 于 (Sat Oct 29 01:02:16 2011, 美东) 提到:
big cong.总结的不错。最近也在努力学习中。。感觉project没做过太大的,不知道还
需不需要加强?
☆─────────────────────────────────────☆
rustyman (徘徊的风) 于 (Sat Oct 29 03:18:04 2011, 美东) 提到:
顶!!
同时请问楼主,这几题大致怎么答的:
4.find intersections of two sorted/unsorted arrays? what if the sorted
arrays follows uniform distribution?
假如是sorted, 两个指针遍历,优先移动小的那个,time: O(m+n)), space: O(1)
unsorted的话,建两个hashset,互相查一遍 time:O(m+n), space:O(m+n)
uniform distributed是什么意思?对算法有影响吗?
5.data structure for arithmatic expression? What OOD principal should you
use? What design pattern to use if you need to add many functions to your
data structure?
拿stack去做? 这个有什么部分要coding吗? 这题写起来似乎会很麻烦。 OOD问这个
似乎也不好答。
6. server client, back end server only accept 1 request/second. How to deal
with many clients with many requests?
放到queue里面排队等着?想考什么,这地方?
LZ能share下回答吗?
☆─────────────────────────────────────☆
songlj (songlj) 于 (Sat Oct 29 05:16:35 2011, 美东) 提到:
发现fb的additional phone interview question我一个都不会。。。
这种题目问fresh不是刁难么。。。
☆─────────────────────────────────────☆
gloomyturkey (一只郁闷的火鸡) 于 (Sat Oct 29 09:34:47 2011, 美东) 提到:
Congratulations! 总结得很好,很有帮助。我看你总去挖掘以前的帖子,就知道你很
勤奋,而且会总结。
☆─────────────────────────────────────☆
csbj (csbj) 于 (Sat Oct 29 09:45:25 2011, 美东) 提到:
这个太牛了!big cong!
能问下 数学这方面怎么准备吗?
你那个数学方面的题 大概是 概率的? 几何的? (求点线距离,点在polygon内这
样的)
还是 线代 高数的? 认识个印度人(master)google intern被问了differential
equation.. 数学这方面就是把大学的全都再看看?
☆─────────────────────────────────────☆
beiye (beiye) 于 (Sat Oct 29 10:12:58 2011, 美东) 提到:
多谢LZ分享。
☆─────────────────────────────────────☆
JarricoChen (find a job) 于 (Sat Oct 29 10:16:43 2011, 美东) 提到:
gxgx,真是天道酬勤
☆─────────────────────────────────────☆
songlj (songlj) 于 (Sat Oct 29 11:17:26 2011, 美东) 提到:
楼主,我想请教一下,fb的那个后续phone interview的问题是根据什么来的?是不是
你onsite的时候这类题回答得不好?
我下周也有这么一个phone interview,所以想问下,谢谢。
☆─────────────────────────────────────☆
guangyi ( 光一) 于 (Sat Oct 29 13:31:02 2011, 美东) 提到:
知道distribution可以小优化一下,不用一步步走,类似skip list的思路跳着走.
除了stack还可以用tree,对expression tree可以用inheritance来设计node
这里系统题都是open question,说了queue以后你可以谈下有多个back server如何load
balance, queue满了要给client feedback,什么方面你熟悉准备过就往什么方面扯.
1)
☆─────────────────────────────────────☆
guangyi ( 光一) 于 (Sat Oct 29 13:31:53 2011, 美东) 提到:
我也不会,不懂的概念面试官会解释给你,说是看我的思路,不求我答对.但是我没啥概念
,基本胡说的,所以fail了也不意外.
☆─────────────────────────────────────☆
guangyi ( 光一) 于 (Sat Oct 29 13:35:27 2011, 美东) 提到:
很多以前的帖子都是看mitbbs的面经的时候去找的,看以前的讨论都很有帮助,感谢你们
这些牛人的无私.
有些帖子看一遍一会就忘了,多做笔记比较好,我看火鸡也是做笔记的人,上次那道
consecutive increasing integer就直接贴出旧code了,我以前也看过,弄懂了思路但是
不久就忘了,看你重新贴出来才再学习了次,记下来了.
☆─────────────────────────────────────☆
guangyi ( 光一) 于 (Sat Oct 29 13:37:32 2011, 美东) 提到:
概率+期望值,不是很难,面试官一直引导我.
几何的题目我没看到过,不过topcoder关于几何的tutorial很好,可以看下,但我觉得面
试很少考到这么难的.
线性代数我稍微复习了下基本的matrix操作,但是都没考到,面经里也很少出现,我觉得
没必要花太多时间.
☆─────────────────────────────────────☆
guangyi ( 光一) 于 (Sat Oct 29 13:39:35 2011, 美东) 提到:
recruiter在最后电面前告诉我的feedback是,和我的兴趣相符的position在FB里比较少
,fb希望找general的人,问我如果把我放到其他position会不会还有passion.没告诉我
最后电面会是系统设计.
我觉得我onsite没回答好这类问题可能也是一个原因.我的朋友说一般对fresh是不问这
类问题的.
☆─────────────────────────────────────☆
guangyi ( 光一) 于 (Sat Oct 29 13:42:02 2011, 美东) 提到:
这个短期也抓不起来吧,我也没啥大project的经验,还是先抓成效最快的东西,最后有时
间再补短板吧..
☆─────────────────────────────────────☆
yangcheng (牛魔王) 于 (Sat Oct 29 13:47:13 2011, 美东) 提到:
merge two sorted array 会不会是要求并行处理?
☆─────────────────────────────────────☆
freemail165 (BornOn911) 于 (Sat Oct 29 14:16:46 2011, 美东) 提到:
有名字吗?
能否共享一下
☆─────────────────────────────────────☆
fourinlove (4inlove) 于 (Sat Oct 29 14:38:33 2011, 美东) 提到:
想问一下楼主准备了大概多久?
☆─────────────────────────────────────☆
guangyi ( 光一) 于 (Sat Oct 29 14:54:31 2011, 美东) 提到:
3-6月效率极低的看了一遍interview exposed, 7月看了careercup的一半多,8-9月每天
10-12小时,每天关注板上的讨论和题目.
☆─────────────────────────────────────☆
LittleR (LittleR) 于 (Sat Oct 29 15:01:53 2011, 美东) 提到:
恭喜lz!!!
☆─────────────────────────────────────☆
fourinlove (4inlove) 于 (Sat Oct 29 15:03:30 2011, 美东) 提到:
恩,谢谢楼主,我恶补了1个月,感觉啥都不扎实,现在忽然间淡定了,功夫远远不够
☆─────────────────────────────────────☆
ififlove (加油) 于 (Sat Oct 29 15:41:02 2011, 美东) 提到:
强烈恭喜祝福
☆─────────────────────────────────────☆
yangcheng (牛魔王) 于 (Sat Oct 29 16:05:32 2011, 美东) 提到:
直接google我提到的名字就好了
☆─────────────────────────────────────☆
hskevin (saberfl) 于 (Sat Oct 29 17:05:19 2011, 美东) 提到:
gxgx
☆─────────────────────────────────────☆
etlds (E.T.) 于 (Sat Oct 29 17:18:18 2011, 美东) 提到:
大牛,赞一个!总结的很详细!
☆─────────────────────────────────────☆
etlds (E.T.) 于 (Sat Oct 29 17:36:51 2011, 美东) 提到:
楼主,求head first的哪两本书,复习OOD 和 design pattern?
☆─────────────────────────────────────☆
yangcheng (牛魔王) 于 (Sat Oct 29 17:38:48 2011, 美东) 提到:
head first design pattern
http://www.amazon.com/First-Design-Patterns-Elisabeth-Freeman/d
一本书就几十块钱,为了offer还是值得投入的
☆─────────────────────────────────────☆
darksteel (darksteel) 于 (Sat Oct 29 17:46:56 2011, 美东) 提到:
祝贺楼主!良好的背景加上充分的准备,才能这样无往而不利。非常有帮助的经验。
☆─────────────────────────────────────☆
luis (Luis) 于 (Sat Oct 29 17:51:39 2011, 美东) 提到:
请问LZ,距离毕业多久开始找工作比较合适呢?
☆─────────────────────────────────────☆
guangyi ( 光一) 于 (Sat Oct 29 18:35:30 2011, 美东) 提到:
板上有人好心给了电子版了,我就是上面下载的,原帖见
http://www.mitbbs.com/article/JobHunting/31793581_0.html
☆─────────────────────────────────────☆
guangyi ( 光一) 于 (Sat Oct 29 18:37:16 2011, 美东) 提到:
我的复习方式要全力复习3个月,还是要看个人的,越早越好吧.
另外大公司你拿到offer后1年内上班都没关系,小公司可能希望你马上上班.
☆─────────────────────────────────────☆
sweetie69 (东奔西跑) 于 (Sat Oct 29 21:55:32 2011, 美东) 提到:
恭喜!
☆─────────────────────────────────────☆
smartwind (小疯子) 于 (Sat Oct 29 22:21:26 2011, 美东) 提到:
恭喜,沾喜气,大牛啥时候毕业啊?
工作后求推荐。。。
☆─────────────────────────────────────☆
fanson53 (烦烦) 于 (Sun Oct 30 00:25:45 2011, 美东) 提到:
gxgx
niu
☆─────────────────────────────────────☆
alucart (相见不如怀念) 于 (Sun Oct 30 01:42:49 2011, 美东) 提到:
恭喜magong!
☆─────────────────────────────────────☆
returning (aaaaaaaaa) 于 (Sun Oct 30 03:33:34 2011, 美东) 提到:
lz准备的太好了,相比之下怪不得google把我拒乐。。。
☆─────────────────────────────────────☆
maxq (zf) 于 (Sun Oct 30 09:54:15 2011, 美东) 提到:
恭喜,赞lz分享经历和经验!
☆─────────────────────────────────────☆
cooperation (cooperation) 于 (Sun Oct 30 14:59:16 2011, 美东) 提到:
cong
☆─────────────────────────────────────☆
etlds (E.T.) 于 (Sun Oct 30 15:55:44 2011, 美东) 提到:
灰常感谢!!
☆─────────────────────────────────────☆
smalleye (smalleye) 于 (Sun Oct 30 18:09:39 2011, 美东) 提到:
牛人实用贴!
jobs
deal
amazon?
buf
,
document
code
几个,面试过程中问的不多.书在这里有下载链接:
☆─────────────────────────────────────☆
dawninghu (yy) 于 (Sun Oct 30 20:55:03 2011, 美东) 提到:
谁能用白话文解释一下:longest increase sequence for an integer list
读了也没完全懂,更不可能onsite写出来:
http://www.algorithmist.com/index.php/Longest_Increasing_Subseq
☆─────────────────────────────────────☆
songlj (songlj) 于 (Sun Oct 30 21:29:04 2011, 美东) 提到:
就是最长上升序列,比如1,6,2,3,5 其中最长的上升序列是1,2,3,5
这个n^2的完全可以写出来,nlgn的有点难度,不过应该也可以写出来
☆─────────────────────────────────────☆
zhedahht (HarryHe) 于 (Sun Oct 30 21:48:57 2011, 美东) 提到:
It seems that the blog http://codercareer.blogspot.com/ contains many solutions in this post:
Amazon 1: 1.find first unique character of a string .
http://codercareer.blogspot.com/2011/10/no-13-first-character-a
Amazon 7: level order print tree
http://codercareer.blogspot.com/2011/10/no-11-print-binary-tree
Facebook 3: longest increase sequence for an integer list
http://codercareer.blogspot.com/2011/10/no-16-maximum-length-of
☆─────────────────────────────────────☆
pinklj (aqua) 于 (Mon Oct 31 11:30:53 2011, 美东) 提到:
thanks for sharing
☆─────────────────────────────────────☆
Helens (Helen) 于 (Mon Oct 31 13:45:53 2011, 美东) 提到:
牛人啊!谢谢分享!
☆─────────────────────────────────────☆
fantasist (fan) 于 (Mon Oct 31 17:42:12 2011, 美东) 提到:
cong牛人,感谢分享!
☆─────────────────────────────────────☆
appscan (appscan) 于 (Mon Oct 31 23:23:37 2011, 美东) 提到:
多谢分享。。。
☆─────────────────────────────────────☆
gw123 (球形闪电) 于 (Tue Nov 1 10:58:34 2011, 美东) 提到:
gx
☆─────────────────────────────────────☆
nowheresep (nowheresep) 于 (Tue Nov 1 12:18:08 2011, 美东) 提到:
恭喜~~~~~~~~~~~~~~
☆─────────────────────────────────────☆
mdream (my dream) 于 (Tue Nov 1 13:21:05 2011, 美东) 提到:
index document shard和term shard那个题。。不是做index search的人估计没几个人
能答上来来吧。
☆─────────────────────────────────────☆
justicezyx (just) 于 (Thu Nov 3 19:27:59 2011, 美东) 提到:
恭喜
☆─────────────────────────────────────☆
ihasleetcode (1337coder) 于 (Fri Nov 4 02:57:19 2011, 美东) 提到:
恭喜 :)
☆─────────────────────────────────────☆
quasar28 (quasar28) 于 (Wed Dec 7 14:59:23 2011, 美东) 提到:
find intersections of two sorted/unsorted arrays? what if the sorted
arrays follows uniform distribution?
什么follows uniform distribution?
5.data structure for arithmatic expression? What OOD principal should you
use? What design pattern to use if you need to add many functions to your
data structure?
这个第二问是什么design pattern?
☆─────────────────────────────────────☆
nowheresep (nowheresep) 于 (Wed Dec 7 17:29:24 2011, 美东) 提到:
恭喜~~~~~~~~
1 (共1页)
进入JobHunting版参与讨论
相关主题
[合集] 求祝福。攒RP. 发些收集到的Google的面经[合集] 个人经验总结 H1b,H1b transfer,H1b change of status to F1
[合集] Google拒信+面经[合集] 献给战斗中的兄弟姐妹!找工作总结篇
[合集] 面经+一点个人体会[合集] ASCII字符发音总结
[合集] ME fresh Phd找工作小结(背景,面经,OFFER)[合集] 我也来报个offer,算是总结下吧
谁有G面经总结? 跪求!![合集] System design总结
有人总结LinkedIn 的面经么??[合集] 给作者: 报google nyc offer,并分享面经
微软谷歌yelp自己的面经+总结[合集] Facebook被拒,写个面经
[包子已发完] Offer 到手~~ 发包子60个[合集] A onsite被拒,面经,求分析失败原因
相关话题的讨论汇总
话题: guangyi话题: 面经