Citadel 2026 Intern OA 兩題復盤分享:19 分鐘 AC!

今年秋招 Citadel 的 OA 又來了! 作為北美頂尖的量化公司,很多同學一聽到 Citadel 就會覺得壓力山大,OA 肯定又難又刁鑽。 但這次的體驗可以說是“太給面子了”,一共兩道題,19 分鐘就穩穩做完,思路和代碼都很順利。 寫下來和大家分享一下,希望能給後續要準備 Citadel 或其他大廠 OA 的同學一些參考。

整體感受

  • 題量:共 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 arecompleted. 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
jor jor
END
 0
Comment(尚無留言)