由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - bloomberg 面经 - 挂面了
相关主题
过两天要电面NVIDIA,有高人提点一下方向么?M家onsite面经
菜鸟请教多线程怎么学关于multithread programming大家看什么书
请问面过那几个大公司的牛人,有必要从java转成c++吗?复习C++ multithreading的书
要求Linux下C++编程的职位, 一般要求Linux到啥程度?电面面经
Google面经发个Goldman Sachs的面经
网络公司面经,求祝福C++相关的面经
攒RP, 发N的面经bloomberg 几题
two sigma面经,报个quantcast的offer, 求建议【negotiation update 】请教几个unix的面试题目。
相关话题的讨论汇总
话题: set话题: map话题: pattern话题: process话题: logs
进入JobHunting版参与讨论
1 (共1页)
i**********b
发帖数: 77
1
答得很差。
郁闷。
问了
1) 在UNIX里,怎么stop a set of processes, which don't have the same group ID
2) 一个running process, which is supposed to write logs to a file. But
there're no logs in the file. How can I figure out what's going on in the
process.
3) factory design pattern. and singleton design pattern. Asked details...
4) asked my previous projects in details
5) STL map and set. how are they implemented. what's the difference. Why set
is necessary since there's map.
6) 一个developer起了一个进程。但用户登录发现这个进程提供的功能不在
p******a
发帖数: 299
2
comfort~
Fighting!
c*********u
发帖数: 361
3
当积累经验了

ID
set

【在 i**********b 的大作中提到】
: 答得很差。
: 郁闷。
: 问了
: 1) 在UNIX里,怎么stop a set of processes, which don't have the same group ID
: 2) 一个running process, which is supposed to write logs to a file. But
: there're no logs in the file. How can I figure out what's going on in the
: process.
: 3) factory design pattern. and singleton design pattern. Asked details...
: 4) asked my previous projects in details
: 5) STL map and set. how are they implemented. what's the difference. Why set

s*********g
发帖数: 849
4
第一个就不会。。。。
s*****r
发帖数: 773
5
bless!
哪个职位问这个.....看来bloomberg问题变化太大了, 都不按照套路出牌

ID
set

【在 i**********b 的大作中提到】
: 答得很差。
: 郁闷。
: 问了
: 1) 在UNIX里,怎么stop a set of processes, which don't have the same group ID
: 2) 一个running process, which is supposed to write logs to a file. But
: there're no logs in the file. How can I figure out what's going on in the
: process.
: 3) factory design pattern. and singleton design pattern. Asked details...
: 4) asked my previous projects in details
: 5) STL map and set. how are they implemented. what's the difference. Why set

s*****r
发帖数: 773
6
可以不可以把他们放到同一个group, 然后把那个group kill掉

【在 s*********g 的大作中提到】
: 第一个就不会。。。。
i**********b
发帖数: 77
7
我问了。他们说这些process 不在一个group。
一个一个的kill也不是办法。。。。

【在 s*****r 的大作中提到】
: 可以不可以把他们放到同一个group, 然后把那个group kill掉
c*********u
发帖数: 361
8
应该可以用pgrep和pkill

【在 i**********b 的大作中提到】
: 我问了。他们说这些process 不在一个group。
: 一个一个的kill也不是办法。。。。

s*********g
发帖数: 153
9
Design Pattern, System Programing, OOP,全都上了。
x******3
发帖数: 245
10
搁我这也只能胡答

ID
set

【在 i**********b 的大作中提到】
: 答得很差。
: 郁闷。
: 问了
: 1) 在UNIX里,怎么stop a set of processes, which don't have the same group ID
: 2) 一个running process, which is supposed to write logs to a file. But
: there're no logs in the file. How can I figure out what's going on in the
: process.
: 3) factory design pattern. and singleton design pattern. Asked details...
: 4) asked my previous projects in details
: 5) STL map and set. how are they implemented. what's the difference. Why set

相关主题
网络公司面经,求祝福M家onsite面经
攒RP, 发N的面经关于multithread programming大家看什么书
two sigma面经,报个quantcast的offer, 求建议【negotiation update 】复习C++ multithreading的书
进入JobHunting版参与讨论
r**u
发帖数: 1567
11
都是很实际的问题,没做过这些的真答不上。5怎么答?set少用space?

ID
set

【在 i**********b 的大作中提到】
: 答得很差。
: 郁闷。
: 问了
: 1) 在UNIX里,怎么stop a set of processes, which don't have the same group ID
: 2) 一个running process, which is supposed to write logs to a file. But
: there're no logs in the file. How can I figure out what's going on in the
: process.
: 3) factory design pattern. and singleton design pattern. Asked details...
: 4) asked my previous projects in details
: 5) STL map and set. how are they implemented. what's the difference. Why set

g**********1
发帖数: 1113
12
set has no value only key.
q*********u
发帖数: 280
13
2如何答?
6的话是不是应该看log, 我遇到的情况是,java app的过大导致tomcat突然断了,然
后看log,发现是heap mem over flow.
3这个老问题,我答factory的问题的时候都是说generate a new object for future
use, e.g, create a HibernateFactory generating new hibernate session
singleton,
class A{
private static MyObj my;
static{
my = new MyObj();
}
}
5的话, map是还带一个值,属于键值对(key-value pair)
1看来是pkill,土了,直到看了后面有人说了

答得很差。
郁闷。
问了
1) 在UNIX里,怎么stop a set of processes, which don't have the same group ID
2) 一个running process, which

【在 i**********b 的大作中提到】
: 答得很差。
: 郁闷。
: 问了
: 1) 在UNIX里,怎么stop a set of processes, which don't have the same group ID
: 2) 一个running process, which is supposed to write logs to a file. But
: there're no logs in the file. How can I figure out what's going on in the
: process.
: 3) factory design pattern. and singleton design pattern. Asked details...
: 4) asked my previous projects in details
: 5) STL map and set. how are they implemented. what's the difference. Why set

i**********b
发帖数: 77
14
I answered that. That's not the good answer.
But they said the extra space is not a big issue. I wasn't able to tell what
other issues.

【在 r**u 的大作中提到】
: 都是很实际的问题,没做过这些的真答不上。5怎么答?set少用space?
:
: ID
: set

i**********b
发帖数: 77
15
2如何答?
6的话是不是应该看log, 我遇到的情况是,java app的过大导致tomcat突然断了,然
后看log,发现是heap mem over flow.
g**********1
发帖数: 1113
16
map and set 的数据结构可能不一样,一个像tree,一个像hush table.我不确定,有
没有专业人士解释一下
q*********u
发帖数: 280
17
bloomberg是有时候喜欢拿interviewee开心。
我上次的题目是:
如果把现有的c++程序,拿javascript来写,会有啥问题。
其实这些实际情况很强的题目,各人有各人的理解,超级理解你的感受。

2如何答?
6的话是不是应该看log, 我遇到的情况是,java app的过大导致tomcat突然断了,然
后看log,发现是heap mem over flow.

【在 i**********b 的大作中提到】
: 2如何答?
: 6的话是不是应该看log, 我遇到的情况是,java app的过大导致tomcat突然断了,然
: 后看log,发现是heap mem over flow.

r********t
发帖数: 395
18

what
set s;里面的T可以是各种各样的泛型类型。比如说T可以是pair........
但是map里面的分别只能是一种简单的类型。

【在 i**********b 的大作中提到】
: I answered that. That's not the good answer.
: But they said the extra space is not a big issue. I wasn't able to tell what
: other issues.

r**u
发帖数: 1567
19
我的面经:
(1)简单说了一下research
(2) do u you multi-threading? Yes. I use openMP and pthread.
(3) how do you synchronize with pthread? pthread has mutex and conditional
variable.
(4) when to use conditional variable? (never use it and forget the concept)
"when waiting for some condition to happen" (这不费话么)
(5) you have a functions A and B, both will request resource x and y, what
could happen?
deadlock.
(6) how to avoid it? "f***, how would i know" (use reentry mutex: wrong...)
在很多提示之后,终于明白

【在 i**********b 的大作中提到】
: 答得很差。
: 郁闷。
: 问了
: 1) 在UNIX里,怎么stop a set of processes, which don't have the same group ID
: 2) 一个running process, which is supposed to write logs to a file. But
: there're no logs in the file. How can I figure out what's going on in the
: process.
: 3) factory design pattern. and singleton design pattern. Asked details...
: 4) asked my previous projects in details
: 5) STL map and set. how are they implemented. what's the difference. Why set

i**********b
发帖数: 77
20
这个不对呀。
map key value 都可以是class

...

【在 r********t 的大作中提到】
:
: what
: set s;里面的T可以是各种各样的泛型类型。比如说T可以是pair........
: 但是map里面的分别只能是一种简单的类型。

c****l
发帖数: 1280
21
mark
1 (共1页)
进入JobHunting版参与讨论
相关主题
请教几个unix的面试题目。Google面经
Bloomberg电面面经网络公司面经,求祝福
Bloomberg面经攒RP, 发N的面经
R i v e r b e d 面经two sigma面经,报个quantcast的offer, 求建议【negotiation update 】
过两天要电面NVIDIA,有高人提点一下方向么?M家onsite面经
菜鸟请教多线程怎么学关于multithread programming大家看什么书
请问面过那几个大公司的牛人,有必要从java转成c++吗?复习C++ multithreading的书
要求Linux下C++编程的职位, 一般要求Linux到啥程度?电面面经
相关话题的讨论汇总
话题: set话题: map话题: pattern话题: process话题: logs