Redian新闻
>
攒人品,发几个面试题 C/C++
avatar
攒人品,发几个面试题 C/C++# JobHunting - 待字闺中
c*b
1
1: How you would find out if a machine's stock grows up or down in memory (
using a simple program)?
2: Implement a thread-safe singleton. Note: The singleton instance should be
created only when requested
3: Explain exception safety in C++
4: Explain the difference between the following:
--"malloc"
--"new operator"
--"operator new"
5: What are the differences between
std::list
std::vector
std::std::map
6:一道老题,给定一个字符串,第一个单词与最后一个单词对调,第二个单词与倒数第
二个对调。
7:三个箱子,一个箱子装红球,一个箱子装黑球,一个箱子有红有黑。
每个箱子都有个牌子,上写红,黑,混合
已知每个箱子上的牌子都挂错了
选一个箱子,从这个箱子中取一个球,根据结果把正确的牌子挂到箱子上
avatar
c*s
2
Thank you!
avatar
d*x
3
都是老题啊。。

be

【在 c***b 的大作中提到】
: 1: How you would find out if a machine's stock grows up or down in memory (
: using a simple program)?
: 2: Implement a thread-safe singleton. Note: The singleton instance should be
: created only when requested
: 3: Explain exception safety in C++
: 4: Explain the difference between the following:
: --"malloc"
: --"new operator"
: --"operator new"
: 5: What are the differences between

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。