一亩三分地论坛

 找回密码
 获取更多干货,去instant注册!

扫码关注一亩三分地公众号
查看: 731|回复: 1
收起左侧

Bloomberg 面经

[复制链接] |试试Instant~ |关注本帖
vincenzh 发表于 2014-9-30 11:15:43 | 显示全部楼层 |阅读模式

2014(7-9月) 码农类 硕士 全职@Bloomberg - 校园招聘会 - 校园招聘会 |Other

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看,没有帐号?获取更多干货,去instant注册!

x
首先想感谢地里的同学们的无私面经,才能让我仅仅一周的时间准备的非常充分(本人不是cs专业,所以和cs大牛比依然是**。。)。下面我来介绍一下从开始到结束的全部流程已经面试问题。上上周二的on campus event投得简历,然后直接schedule到上周二校园面。于是从上上周二开始疯狂刷地里的题,感觉即便是在应付面试,过程中实力也感到有提升(again,我是非cs**,赶脚这里面的面经大都来自cs专业的同学们,因为很多人都只用java。而非cs专业的我只会c/c++,所以某种程度上来说我也占了一些便宜)。期间非常注重手写code,把一些同学们以及自己认为是经典题目的完整code从头到尾写了几遍。另外cpluscplus这个网站上得tutorial的所有内容都感觉非常有帮助,有时间的同学可以从头到尾细致的浏览一遍 http://www.cplusplus.com/doc/tutorial/ , 另外一个非常有帮助的是这个pdf文档 http://www.cs.ucr.edu/~lyan/c++interviewquestions.pdf ,从头到尾浏览一遍同样会有很大收获。
. from: 1point3acres.com/bbs

于是,到了上周二,第一轮技术面,两位美国哥。上来看我的简历不是cs背景,便开始从简单的概念性问题入手,以便了解我的程度。
Questions were asked include:
1. Difference between c vs c++.鐣欏璁哄潧-涓浜-涓夊垎鍦
2. Why c++ is better than c
3. Difference between new vs malloc
4. Memory allocation-google 1point3acres
5. Have you used any STL? For example?
6. What's the implementation of map?
7. Time complexity of operations of map
8. How mang memory (i.e. sizeof(obj) ) will an object of class:
class foo
{. 1point 3acres 璁哄潧
    int a;
    int b;
    long c;
}
take?
what about adding member function, and adding virtual member function?
e.g.
class bar. 鐣欏鐢宠璁哄潧-涓浜╀笁鍒嗗湴
{
    int a;
    int b;
    long c;
    void f1();
    virtual f2();
}

9. Explain hash table, how does it work? how to deal with collision?-google 1point3acres
10. Ok, chaining, how to know in the chain which value corresponds to which input key?
. 1point3acres.com/bbs11. Is there any way to specify which part of memory I want to create an object by using new?
12. What are the default member functions when you define a class?
13. What would be the short coming by using the default copy constructor and why? Then how to solve it?
14. Other than copy constructor, what other default member functions will have similar memory leak problem?
15. What's the signiture of copy assignment?
16. Other than the similar memory leak problem that copy constructor has, what other memeory leak could happen with copy assignment? And how to solve it?.鐣欏璁哄潧-涓浜-涓夊垎鍦
17. What's 8<<2?
18. Where does
int a;
vs
int * b = new int;
allocate in memory?
19. Can I use multiple catch block?
20. What if something wrong happen in b/t here:
int *a= new int(value);
//something wrong happen here. visit 1point3acres.com for more.
delete a;
. more info on 1point3acres.comWhat will happen? (It won't reach delete a, so a will be not deleted) How do you deal with it?

紧接着第二天第二轮技术面(much easier):. from: 1point3acres.com/bbs
1. How to get mode in an unordered array?
2. How to reverse a char string?(no need to worry about '\0'). 涓浜-涓夊垎-鍦帮紝鐙鍙戝竷
3. What's the size of a pointer?
4. How to insert a node in a linked list?
5. Design a phone book, what structure to use? What if now I want to output the phone book by alphabetic order?
6.Brain teaser, 25 horses race(told them I knew this, they changed to the next one)
7. 4 people cross a bridge, each of them takes 1 min, 2 mins, 5 mins, 10 mins to cross bridge respectively, only one flash, how to use 17 mins to send all of them over to the other side.

紧接着第三面,manager,基本上让我讲了一个自己认为最challenge的project,然后开始介绍公司。.鐣欏璁哄潧-涓浜-涓夊垎鍦
最后第四轮,hrmm,看了问了问我的简历相关的问题,为啥要读这个,为啥要申请我们公司等等。. visit 1point3acres.com for more.

. 鐣欏鐢宠璁哄潧-涓浜╀笁鍒嗗湴

评分

1

查看全部评分

本帖被以下淘专辑推荐:

yinqiankeke 发表于 2014-12-31 06:24:49 | 显示全部楼层
lz 写的好详细。。赞~。。。马上要面BB了,好紧张。。。
回复 支持 反对

使用道具 举报

本版积分规则

请点这里访问我们的新网站:一亩三分地Instant.

Instant搜索更强大,不扣积分,内容组织的更好更整洁!目前仍在beta版本,努力完善中!反馈请点这里

关闭

一亩三分地推荐上一条 /5 下一条

手机版|小黑屋|一亩三分地论坛声明 ( 沪ICP备11015994号 )

custom counter

GMT+8, 2016-12-5 21:10

Powered by Discuz! X3

© 2001-2013 Comsenz Inc. Design By HUXTeam

快速回复 返回顶部 返回列表