All Companies

Citadel Interview Questions

141 real interview questions at Citadel.

Showing 121–141 of 141 questions

121

Implement the native map function for arrays.

Software EngineerSenior Software Engineer
122

In C++, would you prefer to store pointers or references in a vector? Explain your reasoning.

Software EngineerSenior Software Engineer
123

In C++ templates, in what cases is the keyword 'typename' used?

Software EngineerSenior Software Engineer
124

How do you implement a hash map in C#?

Software EngineerSenior Software Developer
125

What is the expected value when rolling two fair six-sided dice?

InternSummer Intern
126

Write code to compute x raised to the power n (x^n) in O(log n) time.

InternSummer Intern
127

Implement the k-nearest neighbor algorithm.

Software EngineerQuantitative Developer
128

Given a vector of edges (e.g., A-B, A-C, C-D), write a function to determine if the resulting graph is a tree. If it is a tree, return its root.

Software EngineerQuantitative Developer
129

Implement a class for the game Connect Four.

Software Engineer InternSoftware Engineer Intern
130

Find the number of pairs of indices (i, j) in an array v such that v[i] = v[j] = v[i+1] + v[i+2] + ... + v[j-1]. Design an algorithm with time complexity O(n log n).

Software Engineer InternSoftware Engineer Intern
131

If a Binary Search Tree was implemented incorrectly, such that a number to the left of a node is not smaller as it should be, how would you detect this mistake? What is the most efficient way to identify such an error?

Software Engineer InternSoftware Developer Intern
132

Two people plan to meet at a train station. Each arrives at a random time between 4:00 pm and 5:00 pm and will wait 10 minutes for the other. What is the probability that they will meet?

Quant Researcher InternQuantitative Researcher Intern
133

What is implied volatility? What is the probability distribution of X + Y, where X and Y are independent and identically distributed uniform random variables?

Quant Researcher InternQuantitative Researcher (Intern)
134

Given a list of stock prices for consecutive days, determine the optimal strategy to maximize profit from buying and selling stocks. You may complete as many transactions as you like (i.e., buy and sell multiple times), but you must sell the stock before you buy again.

Quant Researcher InternQuantitative Researcher (Intern)
135

1. Given a triangle defined by its vertices, determine whether a given point is inside the triangle. 2. Given a list of times, find the number of pairs of times that add up to 60.

Software EngineerSoftware Engineering
136

Explain why the volatility smile exists.

TraderTrading
137

You are tossing a fair coin. What is the expected number of tosses until you get two heads in a row?

TraderTrading
138

If 0.1% of people have a certain disease, and you have a test that is correct 99% of the time, what is the probability that someone who tests positive actually has the disease?

TraderTrading Intern
139

What is the expected value of the sum when rolling two fair six-sided dice?

TraderQuant Trading Intern
140

Given a biased coin (with probability p of landing heads), what is the probability of flipping two heads (HH) in two consecutive tosses?

TraderQuant Trading Intern
141

Describe how the random forest algorithm works.

TraderQuant Trading Intern

Want the full solutions?

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

Get Started