由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - ok, not so short phone interview
相关主题
[合集] ok, not so short phone interviewMS 'Strategist' 电话面试
How to overloading a matrix class[合集] Phone Interview Experience
一个编程面试题[合集] screwed my first phone interview
[合集] C++ 里面 long 怎么 进行 bitwise AND[合集] Interview Question Help(option)
如果你interview一个quant,你期望他C++知道哪些?BS's senior people are not worried too much
[合集] C++ interview question两个hunter帮忙递了同一个公司的两个不同部门,都要面试了,最后会怎么样?
我C++ yellow belt5月份之后再开始找工作会不会太晚阿
如何高效overload binary operation今天回家路上jam了半个小时,原来这家伙来了。 (转载)
相关话题的讨论汇总
话题: iclass话题: minutes话题: assignment话题: interview话题: got
进入Quant版参与讨论
1 (共1页)
y****I
发帖数: 86
1
my first one and I think I screwed it. (with GS)
anyway, they told me that's 30 minutes, but it took 55 minutes instead.
two questions I didn't get:
1.
void function1(const TestClass& iclass)
}
}
what if you want to change some fields in iclass with the same interface?
2. I should have got this one, but ...
what else need to be considered in the overloaded assignment operator
compared with copy constructor.
got the answer after his hint.
z***i
发帖数: 212
2
1, use const_cast to cast away constness.
2, avoid self assignment

【在 y****I 的大作中提到】
: my first one and I think I screwed it. (with GS)
: anyway, they told me that's 30 minutes, but it took 55 minutes instead.
: two questions I didn't get:
: 1.
: void function1(const TestClass& iclass)
: }
: }
: what if you want to change some fields in iclass with the same interface?
: 2. I should have got this one, but ...
: what else need to be considered in the overloaded assignment operator

1 (共1页)
进入Quant版参与讨论
相关主题
今天回家路上jam了半个小时,原来这家伙来了。 (转载)如果你interview一个quant,你期望他C++知道哪些?
收到一个phone interview[合集] C++ interview question
现在花街上新手矿工起薪大概是怎么个价位啊?我C++ yellow belt
Screw 了一个电话面试如何高效overload binary operation
[合集] ok, not so short phone interviewMS 'Strategist' 电话面试
How to overloading a matrix class[合集] Phone Interview Experience
一个编程面试题[合集] screwed my first phone interview
[合集] C++ 里面 long 怎么 进行 bitwise AND[合集] Interview Question Help(option)
相关话题的讨论汇总
话题: iclass话题: minutes话题: assignment话题: interview话题: got