l**3 发帖数: 45 | 1 自己发挥的比较烂,估计没戏了。
1. C和C++里static的意义。
2. 如果在一个头文件里定义static variable,该头文件被包含在多个.c文件里,是否
可行,有啥问题。
这个没答好,把自己绕晕了,应该是每个.c文件都有一个local的copy。
3. 程序crash了,有可能是什么原因。
illegal memory read write, stack overflow
4. 如何检查memory leak
以前看过,忘了:(。只能回答用类似Garbage collection的办法。
5. C++里virtual function的用处
polymorphism
6. 不知道子类会如何扩展父类,是否要把所有的function全都写成virtual function
,有什么drawback
dynamic binding has extra cost
7. binary search的时间复杂度
log(N)
8. 如何实现search suggestions。比如在google的search box里输入abc,服务器自动
返回所有包含abc的字符串。
想用pre |
m********a 发帖数: 12601 | |
s*****r 发帖数: 773 | 3 2. 如果在一个头文件里定义static variable,该头文件被包含在多个.c文件里,是否
可行,有啥问题。
这个没答好,把自己绕晕了,应该是每个.c文件都有一个local的copy。 |
f****4 发帖数: 1359 | |
g*****u 发帖数: 298 | 5 是么?the use of static as a global var indicates that source code in other
files that are part of the project cannot access the variable. Only code
inside the single file can see the variable. (It's scope -- or visibility --
is limited to the file.) This technique can be used to simulate object
oriented code because it limits visibility of a variable and thus helps
avoid naming conflicts.
【在 s*****r 的大作中提到】 : 2. 如果在一个头文件里定义static variable,该头文件被包含在多个.c文件里,是否 : 可行,有啥问题。 : 这个没答好,把自己绕晕了,应该是每个.c文件都有一个local的copy。
|
l**3 发帖数: 45 | 6 答得这么糟糕居然还让我去on-site。搞不懂。
【在 l**3 的大作中提到】 : 自己发挥的比较烂,估计没戏了。 : 1. C和C++里static的意义。 : 2. 如果在一个头文件里定义static variable,该头文件被包含在多个.c文件里,是否 : 可行,有啥问题。 : 这个没答好,把自己绕晕了,应该是每个.c文件都有一个local的copy。 : 3. 程序crash了,有可能是什么原因。 : illegal memory read write, stack overflow : 4. 如何检查memory leak : 以前看过,忘了:(。只能回答用类似Garbage collection的办法。 : 5. C++里virtual function的用处
|
s*****r 发帖数: 773 | 7 收到onsite了? cong!!!
你什么时候面试的啊
【在 l**3 的大作中提到】 : 答得这么糟糕居然还让我去on-site。搞不懂。
|
l**3 发帖数: 45 | 8 还没定,recuriter说三个星期之内都可以。我想过两个星期去,最近忙着赶paper。 |
s*****r 发帖数: 773 | 9 你是recruiter联系你的? 你面试的那个职位?
【在 l**3 的大作中提到】 : 还没定,recuriter说三个星期之内都可以。我想过两个星期去,最近忙着赶paper。
|
l**3 发帖数: 45 | 10 我是直接在他们的网站上申请的FSD (Financial Software Developer)。 |
|
|
s*****r 发帖数: 773 | 11 哦, 明白了, 你说的recruiter是他公司的recruiter...
【在 l**3 的大作中提到】 : 我是直接在他们的网站上申请的FSD (Financial Software Developer)。
|
f****4 发帖数: 1359 | |
s*****r 发帖数: 773 | 13 你的bloomberg如何了
【在 f****4 的大作中提到】 : cong
|
r****o 发帖数: 1950 | 14 cong!
【在 l**3 的大作中提到】 : 还没定,recuriter说三个星期之内都可以。我想过两个星期去,最近忙着赶paper。
|
l***r 发帖数: 241 | |
f****4 发帖数: 1359 | 16 给据了
move on
【在 s*****r 的大作中提到】 : 你的bloomberg如何了
|
w******1 发帖数: 520 | 17 哇, 楼主真的是好运气啊,
我得沾点光。
在本楼留个脚印。 |
r****y 发帖数: 87 | 18 哪位高手能告诉我如何看mark的文章的回帖?谢谢了 |
p*********9 发帖数: 277 | |
n********p 发帖数: 708 | |