Citadel·Software Engineer·Technical Phone Screen
- Given a list of courses and their prerequisites, return a valid order to take all courses. If no valid ordering exists, return an empty array.
“Classic topological sort.”
Large Enterprises
Most of these Citadel write-ups come from Software Engineers (106), then Data Scientists (33) and Machine Learning Engineers (1). The most reported rounds are the technical phone screen (111), the system design round (16), the onsite coding round (4) and the behavioral / leadership round (3).
140 interview notes · updated Oct 2026
“Classic topological sort.”
“The key move is recognizing that |X − Y| follows a triangular distribution on [0, 100] with PDF f(d) = 2(100 − d) / 10000.”
“More open-ended than I expected for an OA.”
“The conditional probability part was manageable once I set up the sample space carefully.”
“This is where things got uncomfortable fast.”
“I started with a hash set of (x, y) coordinates for live cells, which felt right.”
“My first instinct was a sorted array with prefix sums, which gets you sample() in O(log n) via binary search but blows up on insert and delete.”
“This one took me a while to get traction on.”
“I fumbled this a little because I wasn't expecting them to go so direct so early.”
“My first instinct was greedy, pick the days where the sum of active image costs is highest and apply the discount there.”