Citadel Software Engineer Coding & Algorithms Interview Questions
Practice the exact questions companies are asking right now.

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Compute BBO and NBBO from order data
You are given a list data of order records. Each record is a 4-tuple: ` (exchange_id, price, quantity, order_type) ` - exchange_id: string/int identif...
Implement task queue with insert, delete, execute
Problem: Task manager with insert/delete/execute-next Design a data structure to manage executable tasks. Each task has: - taskId (unique) - priority ...
Simulate 2048 and pack board into uint64
Problem: 2048 move simulation + board compression You are implementing part of the 2048 game on a fixed 4×4 grid. Part A — Simulate a move Given a 4×4...
Implement LRU/LFU cache with custom eviction
You are asked to implement an in-memory key-value cache with a fixed capacity. When the cache is full and a new item must be inserted, an eviction pol...
Design dynamic weighted random sampling with updates
Problem: Support weighted random sampling with insert/delete Design a data structure that maintains a dynamic set of items, each with a positive integ...
Merge K timestamped lists with timestamp coalescing
You are given k sorted lists (or linked lists) of records. Each record has: - timestamp (integer) - values (an array of integers sorted in non-decreas...
Compute maximum later-earlier difference
You are given an integer array output (length n ≥ 1). Define the gain of choosing indices i < j as output[j] - output[i]. Return the maximum gain over...
Determine order of alien alphabet
You are given a list of words sorted in lexicographic order according to an unknown ("alien") alphabet. Task Return one valid ordering of the unique c...
Implement array merge, round-robin scheduler, and trading simulator
You are given three independent coding prompts. For each prompt, clearly define your function/class interfaces, handle edge cases, and analyze time/sp...
Implement an in-memory order book API
Problem Implement an in-memory limit order book for a single trading symbol. You do not need to implement order matching/execution—only store and main...
Compute max team size with a core interval
You are given n employees’ working-time intervals, where employee i works during the inclusive interval [startTime[i], endTime[i]]. You want to form a...
Design a token manager with lazy expiration
Problem Design a token manager that tracks authentication tokens with a fixed time-to-live (TTL). Each token is valid in the half-open time interval [...
Return nodes on a tree diameter path
Problem You are given an undirected tree with n nodes labeled 0..n-1 (connected, no cycles). The diameter of a tree is the longest simple path between...
Check whether a string is a palindrome
Problem Given a string s consisting only of lowercase English letters (a-z), determine whether s is a palindrome. A palindrome reads the same forward ...
Find earliest common meeting slot
Given K participants' calendars, each a list of busy intervals [start, end) within a working window [workStart, workEnd], and a meeting duration d min...
Solve two DS&A optimization problems
Problem 1 — Maximize alternating-sum over four array partitions: Given an integer array arr[1..n] (1-based). Choose indices a, b, c with 1 ≤ a ≤ b ≤ c...
Solve four algorithmic problems
Answer the following independent algorithmic questions: 1) Count extendable prefixes for '10' subsequences: Given a binary string s and an integer k, ...
Minimize changes for k-periodic palindrome
Question Given a string currentPassword (length N) and an integer k (1 ≤ k < N, N ≤ 2·10^5, lowercase letters, N divisible by k), find the minimum num...
Explain hash maps and solve array intersection
1) Explain the internal implementation of a hash map: underlying array/bucket layout, hash function choice, collision resolution strategies (separate ...
Minimize image processing cost with discount
Question You have n images. For the i-th image, processing costs filterCost[i] per day and must run from startDay[i] to endDay[i] inclusive. Each day ...