Citadel · HackerRank
Citadel OA mock: 2 questions in 75 minutes
Take a timed Citadel OA mock on CSWork: 2 coding questions in 75 minutes, judged online HackerRank-style, auto-submitted at time-up and scored.
Start the Citadel mock →20 judgeable problems in the pool (OA bank + frequent LeetCode)
The real Citadel OA format
- Platform
- HackerRank
- Questions
- 2
- Time limit
- 75 minutes
- Difficulty order
- medium → hard
- Scoring
- Each question 0–100 by tests passed
- Roles
- SWE intern, New grad
- Besides coding
- None
SWE intern/full-time OA: 2 HackerRank problems, 65 min for interns and 75 min for 2025–26 full-time. Original problems (binary search on answer, matrix rotation, geometry), medium-plus difficulty with many hidden tests.
What the Citadel OA tests
Two original medium-to-hard problems, most often binary search on the answer and prefix sums with hash counting. You effectively need to pass every hidden test.
Pick a topic to practise its stop on Line 500.
Estimated difficulty mix
- easy 4%
- medium 82%
- hard 14%
- Style
- 2025 reports: count subarrays with equal endpoints whose interior sum meets a condition (prefix sums + hash map); the minimum operations to zero an array where each step subtracts x from one element and y from the rest (binary search on the answer); scheduling upgrades across two servers (binary search). Matrix rotation and geometry have also appeared.
- How to prepare
- Master binary search on the answer with an O(n) feasibility check, and prefix-sum + hash counting. Use 64-bit integers throughout and make sure the large hidden tests pass.
What this mock simulates
- 2 coding questions, in the order medium → hard
- A 75-minute countdown that keeps running if you leave, and submits itself at zero
- Problems drawn from Citadel's OA bank and its frequent LeetCode questions, preferring ones you have not solved
- Solutions and hints stay hidden until you finish; then a score report and the solutions
Not simulated
- Camera, microphone or screen proctoring, and plagiarism checks
- HackerRank's own editor; you use the CSWork editor and judge