Citadel 2026 Intern OA 两题复盘分享:19 分钟 AC!

910次閱讀

今年秋招 Citadel 的 OA 又来了!作为北美顶尖的量化公司,很多同学一听到 Citadel 就会觉得压力山大,OA 肯定又难又刁钻。但这次的体验可以说是“太给面子了”,一共两道题,19 分钟就稳稳做完,思路和代码都很顺利。写下来和大家分享一下,希望能给后续要准备 Citadel 或其他大厂 OA 的同学一些参考。

Citadel 2026 Intern OA 两题复盘分享:19 分钟 AC!

整体感受

  • 题量:共 2 题
  • 难度:中等偏下
  • 时间:限时足够(我 19 分钟完成)
  • 考点:数据结构(滑动窗口)、图论(拓扑排序)、堆优化

如果之前刷过常见 OA 平台(比如 HackerRank、LeetCode、CodeSignal)上的题库,这两题的思路其实都不算新鲜,主要考察的是你能不能快速定位正确解法,并且写出 bug free 的实现。

Problem 1: Detect Abnormal Transactions

Description:
You are given a list of stock trading records. Each record contains a timestamp and a trade volume. Determine whether there exists an “abnormal transaction,” defined as a time window where the total volume exceeds a given threshold.

Solution Idea:

  • Use a sliding window to scan records in chronological order.
  • Maintain the total volume inside the window by adding the new trade and removing the expired ones.
  • If at any point the total volume exceeds the threshold, immediately flag it as abnormal.

Key Points:

  • Optimize the sliding window update: don’t recalculate the sum from scratch each time.
  • Pay attention to edge cases, e.g., whether “equal to threshold” counts as abnormal or not.

这一题其实就是滑动窗口的模板题,逻辑比较直观,只要实现写得简洁,不会有太多坑。

Problem 2: Task Scheduling with Dependencies

Description:
You are given multiple tasks. Each task has an execution time and may depend on other tasks. A task can only be executed after all its dependencies are completed. Find the minimum total time required to complete all tasks, or output an optimal scheduling order.

Solution Idea:

  • Build a directed graph based on task dependencies, compute in-degrees.
  • Perform a topological sort to guarantee valid execution order.
  • Use a min-heap to always select the task with the shortest execution time among the available ones.
  • Accumulate the total time until all tasks are processed.

Key Points:

  • Detect cycles: if the dependency graph contains a cycle, the tasks can’t be completed.
  • Dynamically update the available task set after finishing one.
  • Handle edge cases such as single task, no dependencies, or purely linear dependencies.

这一题属于经典的任务调度问题,套路是拓扑排序 + 最小堆。细节没写对的话很容易挂,但如果熟悉模板,就比较稳。

总结

这次 Citadel 2026 Intern OA,两道题(异常交易检测 + 任务调度)整体友好,19 分钟就能顺利 AC。整体感觉就是考察基础算法和实现功底,只要刷题量够,完全可以拿下。

对于想冲击 Citadel 或其他北美大厂的同学来说,题型积累 + 高频题练习 + 模拟实战 绝对是制胜关键。准备到位,OA 就只是一个热身环节,真正的挑战还在后面的 VO 和面试。

专业代面,全程护航直达Offer

很多同学在备战 Citadel、Amazon、Google 这些大厂的时候,最怕的其实不是题不会做,而是 时间紧、状态乱、细节容易翻车。我们这边长期提供从 OA 代写 / Hackerrank 包过 到 远程 VO 提示 / 面试助攻 的全套服务,全部都是北美 CS 背景的专家真人操作,保证无痕、安全,效果远超 AI。

如果你想要更省心,我们也支持 专业代面(含 SDE、Quant、FAANG 全覆盖),配合摄像头转接与变声技术,提前模拟测试,确保默契度,帮你一路护送到 Offer。

不管是 单次助攻 还是 全流程包过(从 OA 到签约谈判),我们都能灵活定制。预付小额定金,拿到满意 Offer 后再付尾款,真正做到结果导向。

如果你也在冲击北美大厂,别再一个人硬扛,有需要可以随时来聊!

author avatar
Jory Wang Amazon资深软件开发工程师
Amazon 资深工程师,专注 基础设施核心系统研发,在系统可扩展性、可靠性及成本优化方面具备丰富实战经验。 目前聚焦 FAANG SDE 面试辅导,一年内助力 30+ 位候选人成功斩获 L5 / L6 Offer。
正文完