由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 问2个以前版面的CS面试题
相关主题
请教一个C++的题目,谢谢一点码工求职经验总结,回报本版
问个构造函数的问题string permutation,怎么处理重复字母?
c++问题贴一道take home的面试题
一道C/C++的面试题问几个跟C++有关的面试题
一道面试题google 面试题
问一道关于字符串的面试题请教1个工作面试题
发一个有趣的java题关于singleton 的面试题
array 转换成 linkedlist, 在线等, 挺急的--help is still neeGoogle店面刚结束
相关话题的讨论汇总
话题: args话题: public话题: arg话题: different
进入JobHunting版参与讨论
1 (共1页)
p********7
发帖数: 549
1
(1)
Given two classes:
class B
{
public:
B(args_1);
B(args_2);
// and many constructors with different arg lists
};
class D : public B
{
public:
D(args_1) : B(args_1) {}
D(args_2) : B(args_2) {}
// and many constructors with different signatures similarly implemented
// some additional stuff specific to D
};
Assume that the arg list for B's constructors are quite long and may be
revised pretty often in the future, in which case D's constructors have
to be recoded correspondingly. Duplicating the
y****n
发帖数: 579
2
俺错了。
p******r
发帖数: 2999
3
反例
1 2 3 4
100 101 102 103
200 201 202 203
300 301 302 303

【在 y****n 的大作中提到】
: 俺错了。
K******g
发帖数: 1870
4
这两题好像都挺有难度的,谁有好的想法吗?

【在 p********7 的大作中提到】
: (1)
: Given two classes:
: class B
: {
: public:
: B(args_1);
: B(args_2);
: // and many constructors with different arg lists
: };
: class D : public B

b********h
发帖数: 119
5
The second one is Young tableaus. CLRS 6-3.

【在 p********7 的大作中提到】
: (1)
: Given two classes:
: class B
: {
: public:
: B(args_1);
: B(args_2);
: // and many constructors with different arg lists
: };
: class D : public B

s********l
发帖数: 998
6
请问哪里有答案啊?

【在 b********h 的大作中提到】
: The second one is Young tableaus. CLRS 6-3.
1 (共1页)
进入JobHunting版参与讨论
相关主题
Google店面刚结束一道面试题
一道java面试题问一道关于字符串的面试题
Yodle 面试题 Triangle 答对能有面试机会发一个有趣的java题
贡献一个Java 程序 面试题,看不懂为啥。请指教!array 转换成 linkedlist, 在线等, 挺急的--help is still nee
请教一个C++的题目,谢谢一点码工求职经验总结,回报本版
问个构造函数的问题string permutation,怎么处理重复字母?
c++问题贴一道take home的面试题
一道C/C++的面试题问几个跟C++有关的面试题
相关话题的讨论汇总
话题: args话题: public话题: arg话题: different