发信人: justcome (ANewOne), 信区: JobHunting
标 题: 请问一道google面试题
发信站: BBS 未名空间站 (Sun Sep 28 14:16:57 2008), 转信
不是很明白如何实现?edit distance?
Given a source word, a target word, and a dictionary, how to transform the
source word into target word by changing only one letter in each step. The
word you get in each step must be in the dictionary.
发信人: briteguy (briteguy), 信区: JobHunting
标 题: Re: 请问一道google面试题
发信站: BBS 未名空间站 (Sun Sep 28 14:57:24 2008)
levenstein distance
It is for search engine to come up with did-you-mean type of suggestions.
Google is a search company, no wonder they asked this type of question.
Monday, September 29, 2008
Thursday, September 25, 2008
Looking for interviews(zz)
以下只是个人几个月的经验和感受,不适用超牛之人。
1. 招聘网站。
像dice, monster,careerbuilder, yahoo, craiglist等等。我就在dice和craiglist个人找过,感觉craiglist的职位投出去反馈都很快,基本上我周末投10几份简历,下周就可以得到2-3个电话面试机会。而且,对那些一心要去大公司的来说,craiglist上的公司用来练兵最好。
2。去公司的网站。
基本上那些大公司大家都知道。这是一个top 100 software company list:
http://www.softwaretop100.org/list.php?page=1
实在不行,去hoover按行业找,有不少公司其实不错,但是可能以前没听说过。找行业top10的公司。计算机的可以找的行业很多,像software, communication等等。
3. 一些牛校的cs主页,可以找到一些opening,不是每个牛校都信息公开,这个自己去一个个看。
4。自己学校的job fair.这个也不错。
5. 熟人推荐. 这个是最好的,但是你要认识一些人。
找工作要耐心,投出去的简历可能要很久才有反馈。比如我3个月之前投的amazon,刚才才打电话说要安排面。
简历要适当改改,要和职位的关键词match,特别是你心仪的公司和职位,术语最好一样。
总之,职位天天有,需要自己找。
1. 招聘网站。
像dice, monster,careerbuilder, yahoo, craiglist等等。我就在dice和craiglist个人找过,感觉craiglist的职位投出去反馈都很快,基本上我周末投10几份简历,下周就可以得到2-3个电话面试机会。而且,对那些一心要去大公司的来说,craiglist上的公司用来练兵最好。
2。去公司的网站。
基本上那些大公司大家都知道。这是一个top 100 software company list:
http://www.softwaretop100.org/list.php?page=1
实在不行,去hoover按行业找,有不少公司其实不错,但是可能以前没听说过。找行业top10的公司。计算机的可以找的行业很多,像software, communication等等。
3. 一些牛校的cs主页,可以找到一些opening,不是每个牛校都信息公开,这个自己去一个个看。
4。自己学校的job fair.这个也不错。
5. 熟人推荐. 这个是最好的,但是你要认识一些人。
找工作要耐心,投出去的简历可能要很久才有反馈。比如我3个月之前投的amazon,刚才才打电话说要安排面。
简历要适当改改,要和职位的关键词match,特别是你心仪的公司和职位,术语最好一样。
总之,职位天天有,需要自己找。
Friday, September 19, 2008
Interview experience(zz)
发信人: Andrea111 (xiaoxiao), 信区: JobHunting
标 题: 感谢主,拿到理想offer,分享经验
发信站: BBS 未名空间站 (Fri Sep 19 01:34:56 2008)
从6月份开始找工作,终于在9月中拿到两个offer,期间经历的悲喜,相信每个正在找
工作的人都有深切体会。现在和大家分享一下经验,希望对大家有帮助。
本人fresh MS,国内三年程序员背景。找工作时,简历贴在了Dice, Monster,
CareerBuilder,and Hotjobs上,每周更新一次。我自己投过的简历大概10多份,基本
上机会都是别人看到网上简历主动联系我的,包括两个offer。对有工作经验的人,建
议把简历写好,这样能争取很多机会。对于自己投简历,一定要有针对性的投,海投很
浪费时间而且没有收获。我的一个On Site就是自己投到的,还有其他的电话interview。
1)心情调整:
刚开始找工作的时候,什么也不知道,到jobhunting版来,学到很多,但主要还是在找
工作的过程中自己积累起来的经验。刚开始找工作时,电话interview都过不了,很受
打击,这个时候不要对自己没自信,要从中总结经验和教训,发现差在哪里。我每次
phone interview结束都会把问过的题记下来,然后开始找答案,找答案的过程就是学习
的过程。时间长了,phone interview基本就能到on site了。on site后没有消息,这
个很正常,不要觉得受打击,也不要胡思乱想,发现自己的不足就赶快有针对性的弥补
,觉得自己尽力了就抓紧时间继续前行,我就是这样同时拿到两个offer的,还可以讨
价还价。
2) 对自己的定位
查找工作或者投简历时,首先要对自己有正确的定位,这样就会有的放矢了。定位呢就
根据自己的强项。这个我一开始觉得什么工作都行,就无论C++,Java,Database都浏
览,后来抓住自己的特长,就找c++和VC的,这个就50%都能投中了,而且很省时间。
3)关于着装
我觉得对程序员面试来说,就business casual 就可以了。我每次都是西裤+衬衫+运动
鞋(知道很傻,因为一直没机会去买皮鞋,舍不得,也觉得没必要),大家面试你的时
候都看着你的眼睛和你说话,所以没人注意你穿什么鞋。
4)关于on site面试:
on site面试时要争取主动,不要问什么答什么。多和面试官交流你做过的东西,让他
感觉你知道很多。对于口语不算好的人,建议把自己做过的东西整理打印出来。我把自
己开发过的软件的界面打印出来,然后给他们讲,这样更加形象,还能争取到主动权。
5) 关于猎头
猎头的好处是尽力为你争取面试,当拿到offer时,你自己不会说的或者不好意思说的
都可以交给猎头,让他帮你争取,因为你take这个offer他就可以拿到一笔可观的收入
。推荐几个猎头公司:Atlantis Partners (www.atlantispartners.com)这里的一个
猎头和我比较熟悉了,让我给推荐Java和c++的candidate,感兴趣的可以到他的网站上
投简历。Kforce, swing staffing, Boylston Group(www.boylstongroup.com).以上都
是加州的.
另外,找software engineer职位的人,不要在CyberCoders上浪费时间,要花很长时间
申请一个职位,基本都没回复,那个是针对有很多年工作经验的人的。
我是一个基督徒,找工作的过程中,主一直与我同在,给我方向,赐我平安,我很少有
焦急等待,郁闷和伤心的时候,因为我知道上帝会赐给我最好的,所以我尽力做好我能
做的,剩下的就是主的事情了。我的两个offer都是上帝赐给我的意外惊喜。请大家不
要拍砖,尊重我的个人信仰。
以下贴出我phone interview 过的题和推掉的几个正在招聘c++程序员的信息:
phone interview questions:
1. Difference between heap and stack?
2. The difference between structs and classes in c++?
3. What is virtual function?
4. How does virtual function implemented?
Vtable:
5. What’s abstract class?
6. What is pure virtual function?
7. What’s the difference between virtual function and pure virtual
function?
8. What’s the difference between thread and process?
9. What’s the difference between mutex and semaphore?
10. What is the difference between new and operator new?
11. What is the difference between assignment and initialization?
12. What is polymorphism? How does it implemented?
13. What is encapsulation?
14. Copy constructor
15. Difference between copy constructor and assignment.
16. What’s the difference between pointer and reference?
17. What is friend function?
18. What’s the binary search tree?
19. What’s the stack?
20. What’s LIFO (Last In First Out)?
21. Given a stack, and 5 variables, reqire you put the 5 variables into
the stack. How would you test it before putting them in?
22. How would you test your own program?
23. Tell me the first three of your most familiar technical skills.
24. What’s the persentage of back-in, middle tier, and front-in
development?
25. What do you think a good code is?
26. How do you keep you with the latest technologies?
27. distance vector routing protocol
28. c and c++ difference
29. explain constructor and destructor
30. what is copy constructor? When it is called?
31. overloading and overriding difference
32. what is recurcive function? Implement one recurcive funcition.
33. declare a pointer point to an interger;
point to 20 intergers;
point to 20 pointers which point to interger
34. What’s virtual destructor?
35. how is the source file compiled to executable(from source file ->
binary file)?
36. After the source file is compiled to binary file, how is the binary
file orgnized and stored?
37. What is overloading? How does the computer know which function is
according to which implementation since they have the same name?
38. Memory leakage:
How you ever met memory leakage program, is it cause severe problem?
How did you find the leakage?
Have you ever used any software to detect the memory leakage?
39. c++ file in Linux: which compiler do you use?
40. Given a file, tell me the steps of reading the file.
41. What is “IS” and “Has” in C++? What’s the difference?
42. the disadvantage of using stored procedures with parameters.
43. when inserting a record into a table, how can you let the relatived
tables change accordingly?
C++ developer recruiting information:
1) Newfield wireless Inc.
2) mind-control.com
3) www.ziosoftinc.com
4) VeriSign
标 题: 感谢主,拿到理想offer,分享经验
发信站: BBS 未名空间站 (Fri Sep 19 01:34:56 2008)
从6月份开始找工作,终于在9月中拿到两个offer,期间经历的悲喜,相信每个正在找
工作的人都有深切体会。现在和大家分享一下经验,希望对大家有帮助。
本人fresh MS,国内三年程序员背景。找工作时,简历贴在了Dice, Monster,
CareerBuilder,and Hotjobs上,每周更新一次。我自己投过的简历大概10多份,基本
上机会都是别人看到网上简历主动联系我的,包括两个offer。对有工作经验的人,建
议把简历写好,这样能争取很多机会。对于自己投简历,一定要有针对性的投,海投很
浪费时间而且没有收获。我的一个On Site就是自己投到的,还有其他的电话interview。
1)心情调整:
刚开始找工作的时候,什么也不知道,到jobhunting版来,学到很多,但主要还是在找
工作的过程中自己积累起来的经验。刚开始找工作时,电话interview都过不了,很受
打击,这个时候不要对自己没自信,要从中总结经验和教训,发现差在哪里。我每次
phone interview结束都会把问过的题记下来,然后开始找答案,找答案的过程就是学习
的过程。时间长了,phone interview基本就能到on site了。on site后没有消息,这
个很正常,不要觉得受打击,也不要胡思乱想,发现自己的不足就赶快有针对性的弥补
,觉得自己尽力了就抓紧时间继续前行,我就是这样同时拿到两个offer的,还可以讨
价还价。
2) 对自己的定位
查找工作或者投简历时,首先要对自己有正确的定位,这样就会有的放矢了。定位呢就
根据自己的强项。这个我一开始觉得什么工作都行,就无论C++,Java,Database都浏
览,后来抓住自己的特长,就找c++和VC的,这个就50%都能投中了,而且很省时间。
3)关于着装
我觉得对程序员面试来说,就business casual 就可以了。我每次都是西裤+衬衫+运动
鞋(知道很傻,因为一直没机会去买皮鞋,舍不得,也觉得没必要),大家面试你的时
候都看着你的眼睛和你说话,所以没人注意你穿什么鞋。
4)关于on site面试:
on site面试时要争取主动,不要问什么答什么。多和面试官交流你做过的东西,让他
感觉你知道很多。对于口语不算好的人,建议把自己做过的东西整理打印出来。我把自
己开发过的软件的界面打印出来,然后给他们讲,这样更加形象,还能争取到主动权。
5) 关于猎头
猎头的好处是尽力为你争取面试,当拿到offer时,你自己不会说的或者不好意思说的
都可以交给猎头,让他帮你争取,因为你take这个offer他就可以拿到一笔可观的收入
。推荐几个猎头公司:Atlantis Partners (www.atlantispartners.com)这里的一个
猎头和我比较熟悉了,让我给推荐Java和c++的candidate,感兴趣的可以到他的网站上
投简历。Kforce, swing staffing, Boylston Group(www.boylstongroup.com).以上都
是加州的.
另外,找software engineer职位的人,不要在CyberCoders上浪费时间,要花很长时间
申请一个职位,基本都没回复,那个是针对有很多年工作经验的人的。
我是一个基督徒,找工作的过程中,主一直与我同在,给我方向,赐我平安,我很少有
焦急等待,郁闷和伤心的时候,因为我知道上帝会赐给我最好的,所以我尽力做好我能
做的,剩下的就是主的事情了。我的两个offer都是上帝赐给我的意外惊喜。请大家不
要拍砖,尊重我的个人信仰。
以下贴出我phone interview 过的题和推掉的几个正在招聘c++程序员的信息:
phone interview questions:
1. Difference between heap and stack?
2. The difference between structs and classes in c++?
3. What is virtual function?
4. How does virtual function implemented?
Vtable:
5. What’s abstract class?
6. What is pure virtual function?
7. What’s the difference between virtual function and pure virtual
function?
8. What’s the difference between thread and process?
9. What’s the difference between mutex and semaphore?
10. What is the difference between new and operator new?
11. What is the difference between assignment and initialization?
12. What is polymorphism? How does it implemented?
13. What is encapsulation?
14. Copy constructor
15. Difference between copy constructor and assignment.
16. What’s the difference between pointer and reference?
17. What is friend function?
18. What’s the binary search tree?
19. What’s the stack?
20. What’s LIFO (Last In First Out)?
21. Given a stack, and 5 variables, reqire you put the 5 variables into
the stack. How would you test it before putting them in?
22. How would you test your own program?
23. Tell me the first three of your most familiar technical skills.
24. What’s the persentage of back-in, middle tier, and front-in
development?
25. What do you think a good code is?
26. How do you keep you with the latest technologies?
27. distance vector routing protocol
28. c and c++ difference
29. explain constructor and destructor
30. what is copy constructor? When it is called?
31. overloading and overriding difference
32. what is recurcive function? Implement one recurcive funcition.
33. declare a pointer point to an interger;
point to 20 intergers;
point to 20 pointers which point to interger
34. What’s virtual destructor?
35. how is the source file compiled to executable(from source file ->
binary file)?
36. After the source file is compiled to binary file, how is the binary
file orgnized and stored?
37. What is overloading? How does the computer know which function is
according to which implementation since they have the same name?
38. Memory leakage:
How you ever met memory leakage program, is it cause severe problem?
How did you find the leakage?
Have you ever used any software to detect the memory leakage?
39. c++ file in Linux: which compiler do you use?
40. Given a file, tell me the steps of reading the file.
41. What is “IS” and “Has” in C++? What’s the difference?
42. the disadvantage of using stored procedures with parameters.
43. when inserting a record into a table, how can you let the relatived
tables change accordingly?
C++ developer recruiting information:
1) Newfield wireless Inc.
2) mind-control.com
3) www.ziosoftinc.com
4) VeriSign
Wednesday, September 17, 2008
Amazon interview(zz)
据我的回忆,呵呵,有的记不清楚了,但,大体如下:
1) 算法题
基础的算法题,比如说,和string相关的问题, 还有比较恶心的就是,他们会问关于
java的一些函数是如何实现的。比如说,java是如何实现这个的:
Integer i = new Integer("123");
也就是说,java是如何将string转换为integer的。
奉劝各位,算法的方面,多练习基本功吧,呵呵
2) Design/Patterns 的问题
为大楼设计个电梯系统。10层的楼,3个电梯。需要个系统来控制。都有哪些classes?
或者说,设计个电话,都有哪些objects, 等等
3) programming language 的问题
java的inheritance是啥?啥叫polymorphism等等。要你举例子说明。所以,你要熟悉
一些特例。
C++的virtual function是怎么回事?public, or private...
1) 算法题
基础的算法题,比如说,和string相关的问题, 还有比较恶心的就是,他们会问关于
java的一些函数是如何实现的。比如说,java是如何实现这个的:
Integer i = new Integer("123");
也就是说,java是如何将string转换为integer的。
奉劝各位,算法的方面,多练习基本功吧,呵呵
2) Design/Patterns 的问题
为大楼设计个电梯系统。10层的楼,3个电梯。需要个系统来控制。都有哪些classes?
或者说,设计个电话,都有哪些objects, 等等
3) programming language 的问题
java的inheritance是啥?啥叫polymorphism等等。要你举例子说明。所以,你要熟悉
一些特例。
C++的virtual function是怎么回事?public, or private...
Binary tree print
Problem: To find print all the nodes at the same levels of a binary tree. Inputs given are root pointer and the pointer to the node (let it be A) whose level elements need to be printed.
Solution:
level = FindLevel(root, node, 0);
if(level == -1) return;
PrintLevel(root, level);
FindLevel(Node current, Node target, int level)
{
if(current == target) return level;
if(current is leave) return -1;
int ll;
ll = FindLevel(current.left, target, level+1);
if(ll != -1) return ll;
ll = FindLevel(current.right, target, level+1);
return ll;
}
PrintLevel(Node current, int target_level, int level)
{
if(target_level == level) {
current.print();
return;
}
if(current is leave) return;
FindLevel(current.left, target_level, level+1);
FindLevel(current.right, target_level, level+1);
}
Solution:
level = FindLevel(root, node, 0);
if(level == -1) return;
PrintLevel(root, level);
FindLevel(Node current, Node target, int level)
{
if(current == target) return level;
if(current is leave) return -1;
int ll;
ll = FindLevel(current.left, target, level+1);
if(ll != -1) return ll;
ll = FindLevel(current.right, target, level+1);
return ll;
}
PrintLevel(Node current, int target_level, int level)
{
if(target_level == level) {
current.print();
return;
}
if(current is leave) return;
FindLevel(current.left, target_level, level+1);
FindLevel(current.right, target_level, level+1);
}
Subscribe to:
Posts (Atom)