📣 黑五价提前开抢|VIP一年通行证5折,蓝莓、Offer多多同步特惠
回复: 6
跳转到指定楼层
上一主题 下一主题
收起左侧

2024 Akuna Capital SWEI C++ Coding Test Round1

🔗
匿名用户-DSNWK  2024-2-12 10:23:06 |倒序浏览

2024(1-3月) 码农类General 硕士 全职@akunacapital - 网上海投 - 在线笔试  | 🙁 Negative 😣 Hard | Fail | 应届毕业生
1.Recursion[Mc00011
Which of the following is a reason that one might prefer a tail-recursive function over a function that is not tail-recursive?Pick ONE option
a tail-recursive function cannot cause an infinite loop
a (safely written) tail-recursive function will not produce a stack overflow
a tail-recursive function always requires fewer arguments than an equivalent
non-tail-recursive function there are some functions that can only be implemented using tail recursion

2. Stacks [MC0002]
For which of the following use cases would one employ a stack? Select all that apply.Pick ONE OR MORE options
buffering incoming messages, where earlier messages are to be processed before later ones
implementing a fixed-size ring buffer
checking if a string has balanced parentheses, brackets, and/or curly braces
performing a breadth-first search over a tree or a graph
reversing a singly-linked list

3. Mocking [Mc0007]
Which of the following components would one want to mock in a unit test? Select all that apply.Pick ONE OR MORE options
a component that interfaces with an external resource, such as a database, the file system, or the internet
a random number generator
algorithms from the C++ standard library
a logger
a component that exposes the current date and/or time

4.Algorithmic Complexity[Mc0010]
Which of the following is true of two distinct functions fn1 and fn2 that both exhibit 0 (m?) average time complexity? Pick ONE option
fn1 may be insertion sort, and fn2 may be bubble sort
if
您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
使用VIP即刻解锁阅读权限或查看其他获取积分的方式
游客,您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
VIP即刻解锁阅读权限 或 查看其他获取积分的方式
Unlock interview details and practice with AI
Popular Interview Questions from Top Companies
ll not capture anything from the surrounding scope
a lambda can be forward-declared, just like a functor class or struct
the call operator of a lambda is virtual

10.ODR IMC0034]
Which of the following are ways to avoid violating the one-definition rule? Select all that apply.Pick ONE OR MORE options
avoid using namespace declarations at global scope in header files
if a function is declared in Foo.h, define the function Foo.cpp
mark free, non-templated functions that are defined in header files with the inline keyword
never define a templated function and a non-templated function in the same namespace with the same name
declare global constants as either extern or constexpr inline
prefix macros with a custom sequence, such as a project slug or the author's initials

本帖子中包含更多资源

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x

评分

参与人数 1大米 +15 收起 理由
匿名用户-UNMZZ + 15 欢迎分享你知道的情况,会给更多大米奖励!

查看全部评分


上一篇:SIG 2024 Quant OA
下一篇:求Tiktok 2/12-2/16的 OA
地里匿名用户
🔗
匿名用户-FL2ZT  2024-2-13 00:19:36
lz 做完oa后 有后文吗
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-DSNWK  2024-2-13 00:58:11
匿名用户 发表于 2024-2-12 10:19
lz 做完oa后 有后文吗

昨晚做完今天早上收到了拒信
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-VSWGT  2024-2-15 05:29:31
匿名用户 发表于 2024-2-12 11:19
lz 做完oa后 有后文吗

请问你有做oa2吗
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-FL2ZT  2024-2-15 05:43:34 来自APP
没做 准备好了再做
回复

使用道具 举报

🔗
qutrotal 2024-3-28 09:04:23 | 只看该作者
全局:
匿名用户 发表于 2024-2-13 00:58
昨晚做完今天早上收到了拒信

为什么被拒了呀
回复

使用道具 举报

🔗
helpOAgods 2024-9-24 13:35:05 | 只看该作者
全局:
Did anyone do oa2
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表