The Tower Research Capital C++ & Algorithms interview is stage 4 of 6 in the Tower Research Capital interview process, after the Probability & Brain-Teasers. Format: 60 min - coding + C++ internals. For Core Developer roles: hard algorithm problems plus C++ internals (virtual destructors, const correctness, memory model).
Preparing for this round? Practice the 33 questions mapped to the Tower Research Capital C++ & Algorithms, with worked solutions. 3 are free, and your first answer needs no account. A free account saves your progress.
Save a 4-week Tower Research Capital plan to your dashboard: week by week through the rounds, with your progress.
Also see the full Tower Research Capital interview process and the Tower Research Capital interview questions.
What the C++ & Algorithms tests
Clean, efficient, correct code is expected.
QuantVault maps 33 practice problems to this round. By topic, the biggest groups are coding (33); by difficulty, 4 easy, 21 medium and 8 hard. 31 of them were reported by candidates who interviewed at Tower Research Capital, most recently in Jun 2026.
- Engineering phone screens include live C++ coding with a working engineer, about an hour each.
Who takes this round: Core Developer (C++) candidates. See the full Tower Research Capital process and who takes each round.
How to prepare for the C++ & Algorithms
- Know C++ cold -- virtual destructors, const correctness, pointers, the memory model.
- State complexity up front, then optimize -- latency mindset.
- Practice matrix/array and parsing problems -- search in a sorted matrix, RPN, largest zero submatrix recur.
Further reading: C++ and low-latency interview questions · How quant superdays work · Behavioral questions at trading firms · Market-making game interview guide.
Question types in this round
The 1 largest question types in the Tower Research Capital C++ & Algorithms practice set; across them the most common sub-topics are data structures, complexity analysis, C++, graph algorithms, sorting and searching, dynamic programming. The questions themselves, with worked solutions, are in the round practice.
Coding33 in this round
Illustrative worked example
An original example of the most common question type in this round, written by QuantVault and modeled on a free question from the round practice set. It shows the reasoning the round rewards; it is not a question Tower Research Capital asked.
Illustrative example (not an actual interview question)
Counting triples with a sum below a threshold
Given an integer array nums and a threshold T, count the index triples i < j < k with nums[i] + nums[j] + nums[k] < T. Example: nums = [-2, 0, 1, 3], T = 2 returns 2 (the triples summing to -1 and to 1).
Approach
- Indices only need to be distinct, so sorting the values does not change the count; sort ascending.
- Fix the smallest element a[i] and run two pointers j = i + 1 and k = n - 1 over the rest.
- If $a_i + a_j + a_k \lt T$, then every $k'$ in $(j, k]$ also works with this $j$ (the array is sorted), so add $k - j$ and move j right; otherwise move k left.
- Duplicates need no special handling because we count index triples, not distinct value sets; check with a cubic brute force on small random arrays.
- Sorting is $O(n \log n)$ and the two-pointer passes are $O(n^2)$ in total, with $O(1)$ extra memory if sorting in place (in C++, std::sort on a copy if the input must stay unchanged).
Complexity: $O(n^2)$ time, $O(1)$ extra space
What the interviewer is looking for: Seeing that a whole block of k values can be counted at once, a clear invariant for the two pointers, and attention to duplicates and overflow of the sum for large inputs.
Try the real question: #1057 Three Sum Free
Prepare with QuantVault
The same round at similar firms
Compare with similar firms
Frequently asked questions
What is the Tower Research Capital C++ & Algorithms interview?
It is stage 4 of 6 in the Tower Research Capital interview process, after the Probability & Brain-Teasers. Format: 60 min - coding + C++ internals. For Core Developer roles: hard algorithm problems plus C++ internals (virtual destructors, const correctness, memory model). Clean, efficient, correct code is expected.
How long is the Tower Research Capital C++ & Algorithms interview?
Candidates report: 60 min - coding + C++ internals.
What questions come up in the Tower Research Capital C++ & Algorithms interview?
The practice set QuantVault maps to this round centers on coding.
How should I prepare for the Tower Research Capital C++ & Algorithms interview?
Know C++ cold -- virtual destructors, const correctness, pointers, the memory model. State complexity up front, then optimize -- latency mindset.
What comes after the C++ & Algorithms?
The Quant / Statistics Round (stage 5 of 6). Format: 45-60 min - video.
Practice the Tower Research Capital C++ & Algorithms round
Work the 33 mapped practice problems with progress tracking, then move to the next stage of the Tower Research Capital funnel.