All Companies

Citadel Interview Questions

141 real interview questions at Citadel.

Showing 91–120 of 141 questions

91

Reverse a linked list in place.

Software Engineer InternSoftware Engineering Intern
92

Implement a balanced binary search tree from scratch, explain its time complexity, and optimize it to efficiently handle duplicate values.

Software EngineerSoftware Engineer
93

Given an array representing user events, find the length of the longest contiguous subarray where the most frequent user in that subarray has the same number of events as the least frequent user in the entire event log. Write an efficient function to solve this problem.

Software EngineerSoftware Engineer
94

How can a deadlock occur?

Software EngineerSoftware Engineer
95

Given an array representing heights of points on a mountain and a starting position, what is the highest point that is visible from that position?

Software EngineerSoftware Engineer
96

Given a set of numbers [a, b, c, d, e] and a target t, find the number of triplets from the set whose sum is less than or equal to t.

Software EngineerSoftware Engineer
97

Given a sentence containing three types of brackets—parentheses (), square brackets [], and curly braces {}—determine if the brackets are properly matched and ordered.

Software EngineerSoftware Developer
98

Given a sorted array of integers, can you find two numbers such that their sum equals a target integer?

Software EngineerSoftware Engineer
99

Implement a hashtable data structure that handles hash collisions using probing.

Software EngineerSoftware Engineer
100

In Python, use object-oriented design to implement a defaultdict from scratch.

Software EngineerSoftware Engineer
101

Given a matrix and the coordinates of the top-left and bottom-right corners, calculate the sum of the elements within the specified submatrix in (1) linear time and (2) constant time. You are allowed to preprocess the matrix.

Software EngineerSoftware Engineer
102

Write the code for a multi-reader/single-writer lock.

Software EngineerSoftware Engineer
103

Write a program to schedule a stream of pizza delivery orders.

Software EngineerSoftware Engineer
104

Calculate the Sharpe ratio of a 60/40 coin toss where each toss results in a gain of $1 or a loss of $1, respectively.

InternInternship
105

What is a probability density function?

InternInternship
106

Explain how to use a binomial tree to determine the price of a European call option.

InternInternship
107

How do you reverse a string using Python?

InternInternship
108

How can you generate a probability of 1/4, 1/3, or 1/Ď€ using only coin flips?

Quant ResearcherQuantitative Research Analyst
109

Suppose you have three random variables. The correlation between A and B is 0.6, and the correlation between A and C is 0.8. What is the possible range of the correlation between B and C?

Quant ResearcherQuantitative Research Analyst
110

You are given an array of integers, which may include both negative and positive values, and another integer S. Find three different integers in the array whose sum is closest to S. If multiple solutions exist, any is acceptable. Is there an algorithm to find the three integers in O(n^2) time?

Quant ResearcherQuantitative Research Analyst
111

If you have a dataset with many features, what methods can you use to reduce its dimensionality?

Quant Researcher InternQuant Research Intern
112

How do you derive the Black-Scholes formula for pricing European options?

Quant Researcher InternQuant Research Intern
113

1. Describe your past research experience related to reinforcement learning and model explainability. 2. Explain the bias-variance trade-off in random forests. 3. What is the closed-form solution to linear regression, with and without L2 regularization?

Quant Researcher InternQuant Research Intern
114

Analyze the variance of a momentum trading strategy.

Quant Researcher InternQuant Research Intern
115

Sample points randomly from a unit sphere. If you generate independent standard normal variables X1, X2, X3 for the three coordinates and normalize by dividing by sqrt(X1^2 + X2^2 + X3^2), then (X1, X2, X3) / sqrt(X1^2 + X2^2 + X3^2) is a uniform random point on the sphere. What is the variance of each coordinate of the resulting uniform distribution on the sphere?

Quant Researcher InternQuant Research Intern
116

Given the numbers 1 to 1000 arranged around a circle in order, start at 1 and delete every alternate number (i.e., remove 1, then 3, then 5, and so on). Continue this process of deleting every other remaining number, wrapping around the circle as necessary, until only one number remains. Determine this final remaining number.

Quant Researcher InternQuant Research Intern
117

How do you generate a uniform distribution over a disk given access to two independent uniform random variables?

TraderQuantitative Trader
118

What is the expected value of the cube of a fair six-sided die roll?

TraderQuantitative Trader
119

Given a matrix of size N by T, where the entry at the i-th row and j-th column represents the price of buying i shares of a stock at time j, determine the minimum total cost of purchasing N shares by the end of time T.

TraderQuantitative Trader
120

You are given two ropes that, when lit, each burn for exactly one hour, but not necessarily at a constant rate. Which one of the following times CANNOT be measured using these ropes? a) 50 minutes b) 30 minutes c) 25 minutes d) 35 minutes.

TraderQuantitative Trader

Want the full solutions?

Get detailed walkthroughs for all 141+ Citadel questions with Quant Blueprint.

Get Started