Hudson River Trading interviews · 2022
- Company
- Hudson River Trading
- Reports
- 14 interview reports
- Stages
- Phone screen → Onsite
Hudson River Trading interview reports from 2022: 14 candidates, mostly interns and new grads, asked about OS internals, data structures and Python.
At a glance
- Process: Eight reports describe one first round by phone or video (01–03, 07, 09, 10, 12, 14). Entry 05 had one hour of Python questions and a coding problem. Five describe more: two rounds (04, 13), an interview with an algorithm developer and a 45-minute probability round (06), a technical screen, a technical interview and two 3-hour final days (08), and two phone rounds and a four-part virtual onsite (11). Five began with an OA (03, 06, 08, 11, 14), covered in Hudson River Trading OA · 2022.
- Asked: Processes, threads and inter-process communication in seven reports (04, 07–10, 13, 14). Data structure internals such as hash maps, ordered maps, vector growth and deques in seven (01, 02, 04, 07, 09, 13, 14). Python internals in five (03, 05, 09, 10, 12). Union-find came up in three intern reports (04, 07, 09), and a 3D ray-intersection question in three (01, 04, 09).
- Difficulty: Entry 03 found the round not hard but lacked Python details. Entry 10 felt about 60% right. Entry 06 said they made mistakes. Entry 11 finished the five debugging scenarios in about 30 minutes, but in the second phone round explained an approach without working code.
- Practise first: Expected People Met Before Someone Taller, the probability question from entry 06.
Coverage: Fourteen reports posted between March and November 2022; each sits under the month it was posted. Internship / Co-op: seven (Software Engineer interns in 01, 04, 09 and 14; Core Developer interns in 07 and 13; an Algorithm Developer Intern in New York, 06). New Grad: four software roles (02, 03, 10, 12). Experienced Full-Time: one Operations Developer (Python) in London (11). Hiring level not reported: a Data Software Engineer in the UK (05) and a Software Engineer in the US (08). Only entry 06 gives an interview date (Oct 2021). One offer, accepted (11); entry 01 passed its phone screen. The OAs are in Hudson River Trading OA · 2022.
Months
- November 2022: entries 01–02
- October 2022: entries 03–08
- September 2022: entry 09
- June 2022: entry 10
- May 2022: entries 11–12
- April 2022: entry 13
- March 2022: entry 14
What came up
Most of these rounds asked how things work underneath: how processes talk to each other, how maps and vectors are built, and how Python features such as yield work. Union-find and a 3D ray-intersection question each came up in three intern reports. Dates are report dates, except the probability row, which uses the interview date.
| Topic | Reports | Last seen |
|---|---|---|
| Data structure internals (maps, vectors, deques) | 7 of 14 (6 Internship, 1 New Grad) | Nov 2022 |
| Processes, threads and inter-process communication | 7 of 14 (5 Internship, 1 New Grad, 1 level not reported) | Oct 2022 |
| Python internals | 5 of 14 (3 New Grad, 1 Internship, 1 level not reported) | Oct 2022 |
| Algorithm problems | 5 of 14 (3 Internship, 1 Experienced, 1 level not reported) | Oct 2022 |
| Memory and low-level C++ | 3 of 14 (2 New Grad, 1 Internship) | Nov 2022 |
| 3D ray intersection | 3 of 14 (Internship) | Nov 2022 |
| Union-find | 3 of 14 (Internship) | Oct 2022 |
| Debugging and improving Python code | 2 of 14 (1 New Grad, 1 Experienced) | Oct 2022 |
| Latency and hardware | 1 of 14 (New Grad) | May 2022 |
| Probability | 1 of 14 (Internship) | Oct 2021 |
Questions we found
Dates are report dates, except the probability row, which uses the interview date. The cohort of each report is in brackets.
Algorithms / Data Structures
| Question | Reports | Last seen |
|---|---|---|
| A ray and many 3D surfaces: find the hits fast | 3 (Internship) | Nov 2022 |
| Union-find (disjoint set): design and optimizations such as path compression | 3 (Internship) | Oct 2022 |
| Find a peak or local minimum in an array, then in a 2D grid | 2 (Internship) | Apr 2022 |
| Implement the 2048 game's move | 1 (Internship) | Oct 2022 |
| Read any number of characters through a fixed 4096-byte read call | 1 (Internship) | Apr 2022 |
Data structure internals
| Question | Reports | Last seen |
|---|---|---|
| Ordered (tree) map vs hash map: costs and how each is built | 3 (Internship) | Nov 2022 |
Vector growth: amortized cost of push_back, growth factors |
3 (2 Internship, 1 New Grad) | Nov 2022 |
| Build a hash map: collisions, a full table, tree buckets | 2 (Internship) | Nov 2022 |
| Vector vs list | 2 (Internship) | Nov 2022 |
| A deque with O(1) ends, then random access or a circular buffer | 2 (Internship) | Apr 2022 |
Systems knowledge (OS, memory, C++)
| Question | Reports | Last seen |
|---|---|---|
| Ways processes communicate: pipes, sockets, shared memory | 4 (Internship) | Oct 2022 |
| Threads vs processes | 3 (2 Internship, 1 New Grad) | Jun 2022 |
| How a shell pipe works between two programs | 2 (Internship) | Oct 2022 |
| How memory address translation works | 1 (Internship) | Nov 2022 |
| Segmentation faults, page tables and virtual memory | 1 (New Grad) | Nov 2022 |
new vs malloc, and writing your own malloc |
1 (New Grad) | Nov 2022 |
What inline does and why jumps are slow |
1 (New Grad) | Nov 2022 |
| What the OS does when you run a program from the command line | 1 (Internship) | Oct 2022 |
| How can you run multiple processes on one computer? | 1 (level not reported) | Oct 2022 |
| Heap vs stack | 1 (New Grad) | May 2022 |
| Ways to cut latency when talking to an exchange | 1 (New Grad) | May 2022 |
| GPU acceleration and hardware to cut latency | 1 (New Grad) | May 2022 |
Python knowledge
| Question | Reports | Last seen |
|---|---|---|
How yield and generators work |
3 (2 New Grad, 1 Internship) | Oct 2022 |
What with does |
2 (New Grad) | Oct 2022 |
Find the bug in a dict subclass (__setitem__) |
1 (New Grad) | Oct 2022 |
| Review a stock-price function for complexity and correctness | 1 (New Grad) | Oct 2022 |
| How a Python dictionary is implemented | 1 (New Grad) | Jun 2022 |
| Python threads vs operating-system threads | 1 (New Grad) | Jun 2022 |
| What decorators can do, and which make code faster | 1 (New Grad) | May 2022 |
| Why a Python script got slower with no code change | 1 (Experienced) | May 2022 |
Project Coding
| Question | Reports | Last seen |
|---|---|---|
| Debug five Python scripts and their CSV files | 1 (Experienced) | May 2022 |
| Process trade data and pull out the required information | 1 (Experienced) | May 2022 |
Low-Level Design (LLD/OOD)
| Question | Reports | Last seen |
|---|---|---|
| A data structure for operations on trades, built for speed | 1 (Experienced) | May 2022 |
| Build a rate limiter | 1 (Internship) | Apr 2022 |
Probability and statistics
| Question | Reports | Last seen |
|---|---|---|
| Expected People Met Before Someone Taller | 1 (Internship) | Oct 2021 |
Behavioral (BQ)
| Question | Reports | Last seen |
|---|---|---|
| Your most interesting project and its hardest bug | 1 (New Grad) | Jun 2022 |
| Your biggest Python project, and how you know your code is correct | 1 (New Grad) | May 2022 |
| The role and your recent projects (culture fit) | 1 (Experienced) | May 2022 |
| Your favorite data structure and where it helped | 1 (Internship) | Apr 2022 |
November 2022
01: Phone screen · Software Engineer intern: fundamentals and ray tracing
Cohort: Internship / Co-op · Role: Software Engineer Intern · Location: not stated · Interview date: not given · Report date: Nov 3, 2022 · Result: Passed
First round
- Vector vs list.
- Ordered map vs unordered map.
- How to build a hash map: handling collisions, and what to do when the table is full.
- How memory address translation works.
- How to speed up 3D ray tracing.
02: Phone screen · Core Developer, new grad: one long chain of C++ and OS questions
Cohort: New Grad · Role: Core Developer, New Grad · Location: not stated · Interview date: not given · Report date: Nov 1, 2022 · Result: Not stated
First phone round (cameras off)
- A short intro and resume chat.
std::vectorinsert and delete costs, what "amortized" means, how many copies 100 inserts cause with doubling and why the total is O(n), when to shrink after deletes, and why to leave a gap so growing and shrinking don't keep flipping.- What
newdoes vsmalloc, how you'd write your ownmalloc, and howfreeknows the block's size. - What a segmentation fault is, how dereferencing NULL triggers one, what a page table is, and why virtual memory helps.
- What
inlinedoes, why skipping a jump helps, why jumps are slow, and the downside of code growth.
October 2022
03: Video round · Software Engineer, new grad (Python): read, fix and improve small functions
Cohort: New Grad · Role: Software Engineer, New Grad (Python) · Location: not stated · Interview date: not given · Report date: Oct 18, 2022 · Result: Not stated; the candidate felt they answered poorly
The OA before this round is in entry 02 of Hudson River Trading OA · 2022.
First round after the OA (video)
- A short function using
yield: read it, explain it, then improve it. - A short function that reads a file with
with: the same, with basic knowledge questions along the way. - A function that computes stock prices: analyze its time complexity and correctness, point out problems, and say how to improve it.
- A class that inherits from
dict: find what's wrong. You need to know how__setitem__behaves.
The candidate said it wasn't hard, but they didn't know many Python details well. In a reply, the candidate said "improve" meant two things: correctness (corner cases) and speed (can it be made faster).
04: Final round · Software Engineer intern: hash maps, IPC, union-find and the 2048 game
Cohort: Internship / Co-op · Role: Software Engineer Intern · Location: not stated · Interview date: not given · Report date: Oct 13, 2022 · Result: Rejected a week after round 2
Round 1
- What the operating system does when you run a program from the command line, asked in more and more detail.
- Build a hash map: chaining for collisions, then a balanced tree in each bucket, and expected vs guaranteed O(log n).
- Ways processes communicate and their tradeoffs; then exactly how to use shared memory.
- Union-find.
- A ray in 3D and many surfaces: find the intersections fast. The interviewer hinted at partitioning space.
Round 2
- Implement the 2048 game's move. Follow-up: use rotation so you handle one direction instead of four.
05: Interview · Data Software Engineer, UK: three rounds of Python Q&A in one hour
Cohort: Hiring level not reported · Role: Data Software Engineer · Location: UK · Interview date: not given · Report date: Oct 12, 2022 · Result: Did not pass
Interview (1 hour)
- Three question-and-answer segments on basic Python.
- One medium-level BFS/DFS problem.
06: Interview · Algorithm Developer intern, New York: three probability questions in 45 minutes
Cohort: Internship / Co-op · Role: Algorithm Developer Intern · Location: New York, NY · Interview date: Oct 2021 · Report date: Oct 9, 2022 · Result: No offer
- The online assessment came first; it is entry 03 in Hudson River Trading OA · 2022. The candidate described nothing in it.
- Then came an interview with one of the firm's algorithm developers and a probability and statistics round with three questions in 45 minutes. From the write-up it is not clear whether these were one round or two.
- Only one of the three questions is reported. You start with one person, then meet people one at a time. How many people do you expect to meet before you find someone taller than that first person? Practice it as Expected People Met Before Someone Taller.
- The report does not say how heights are distributed, or whether the first person and the taller person count toward the total. Our practice version states its own assumptions for both.
- The candidate said they made mistakes. The whole process took about three weeks and ended without an offer.
07: Phone screen · Core Developer intern: maps, union-find, pipes and sockets
Cohort: Internship / Co-op · Role: Core Developer Intern · Location: not stated · Interview date: not given · Report date: Oct 3, 2022 · Result: Did not pass
Phone screen
- An intro to HRT and how core dev differs from algorithm dev.
- Tree map vs hash map: costs and how each is built.
- Design a disjoint set: complexity and optimizations.
- How a shell pipe works: the order the two programs run in, and how the kernel handles them running at once.
- Ways processes communicate, how sockets work, and how sockets differ from pipes.
08: Technical rounds and final days · Software Engineer, US: two 3-hour final days
Cohort: Hiring level not reported · Role: Software Engineer · Location: US · Interview date: not given · Report date: Oct 1, 2022 · Result: No offer
- OA, then a non-coding technical screen, then a technical interview. The OA is in entry 04 of Hudson River Trading OA · 2022.
- Two final interview days of 3 hours each.
- One question shared: how can you run multiple processes on one computer?
- More than three weeks passed between the OA and the first interview.
September 2022
09: Video round · Software Engineer intern: five discussion questions
Cohort: Internship / Co-op · Role: Software Engineer Intern · Location: not stated · Interview date: not given · Report date: Sep 22, 2022 · Result: Did not pass
Video round (no coding)
- Ordered vs unordered maps and how each is built.
- Union-find with path compression.
- Python generators and how
yieldworks. - Unix commands, especially how the OS sets up a pipe between processes.
- Given a ray and many 3D triangles, which triangle does it hit? (k-d trees)
June 2022
10: Phone screen · Software Engineer, new grad (Core Developer listing): 45 minutes on how Python works
Cohort: New Grad · Role: Software Engineer, New Grad (Core Developer listing; the recruiter described a Python-focused round) · Location: not stated · Interview date: not given · Report date: Jun 21, 2022 · Result: Not stated
The recruiter said the round would cover the candidate's background, data structures, networking and how Python works underneath.
First phone round (45 minutes)
- Your most interesting project and the hardest bug in it.
- What
yieldis, and iterators vs generators. - What
withdoes. - How a Python dictionary is implemented.
- Threads vs processes, and what each is good for.
- How a Python thread differs from an operating-system thread.
The questions took about 20 minutes. The candidate felt they got about 60% right, and the interviewer's only comment was that they answered quickly.
May 2022
11: Phone rounds and virtual onsite · Operations Developer (Python), London: the full loop and an offer
Cohort: Experienced Full-Time · Role: Operations Developer (Python) · Experience: about 3.5 years at a large tech company · Location: London · Interview date: not given · Report date: May 7, 2022 · Result: Offer, negotiated, accepted; later joined
OA (1 hour, Codility)
- Covered in entry 06 of Hudson River Trading OA · 2022.
Phone 1: debugging (1 hour, SSH into a prepared VM)
- Five scenarios. Each had a Python script and a CSV file. The bug could be in the data, in the script or in both: a bad file format, a syntax error and so on.
- The candidate finished all five in about 30 minutes.
Phone 2: data structures and algorithms (1 hour)
- Two questions. The first was around medium difficulty and took most of the time.
- For the second, the candidate explained an approach but didn't get working code.
Virtual onsite (3 technical rounds + 1 culture fit)
- Debugging and troubleshooting (1 hour). Debug a Python script and its data file while screen-sharing and running it locally. Then an open question: a Python script suddenly got slower with no code change. What could cause it, how would you fix it, and which fix would you pick when?
- Trade data processing (1 hour). Process trade data and pull out the required information. More operations work than algorithms or design.
- Trade data structure (1 hour). Build a data structure that supports operations on trades, with the emphasis on speed and efficiency.
- Culture fit (45 minutes) with the global head of the team, about the role and recent projects.
12: Phone screen · Market Structure Optimization Engineer, new grad: a Python-sounding role with low-level questions
Cohort: New Grad · Role: Market Structure Optimization Engineer (a software role), New Grad · Location: not stated · Interview date: not given · Report date: May 4, 2022 · Result: Not stated
Phone round
- What decorators can do, and which decorators can make code run faster (for example, caching).
- Heap vs stack.
- Ways to cut latency when talking to an exchange. The candidate suggested connecting directly instead of going through the exchange's gateway. Asked how, they couldn't say.
- From the candidate's ML project: GPU acceleration, and whether they'd design hardware to cut latency.
- Their biggest Python project, and how they know their code is correct.
The posting suggested a few Python packages would do, but the questions went low-level. The candidate came away thinking HRT wanted someone who understands hardware acceleration.
April 2022
13: Two rounds · Core Developer intern: applied for Python, interviewed in C++
Cohort: Internship / Co-op · Role: Core Developer Intern (applied for the Python track) · Location: not stated · Interview date: not given · Report date: Apr 12, 2022 · Result: Did not pass
Round 1 (fundamentals)
- Vector vs linked list; how a vector is built; why a growth factor of 1.5 is used.
- How to build a deque and what each operation costs; then how to make it circular.
- Threads vs processes, why a thread context switch is cheaper, and how processes talk to each other.
- Find a peak element in an array, then a peak in a 2D grid.
Round 2 (had to use C++)
- Your favorite data structure, where you used it in a course or project, and how it helped.
- Read any number of characters through a fixed 4096-byte read call, called many times, using as little extra space as possible, with follow-ups.
- Build a rate limiter. The candidate built a single-threaded token bucket. Follow-ups: where a profiler would show most of the time, and how it scales.
March 2022
14: Phone screen · Software Engineer intern: vector growth, deques and local minimums
Cohort: Internship / Co-op · Role: Software Engineer Intern · Location: not stated · Interview date: not given · Report date: Mar 1, 2022 · Result: Did not pass
The OA before this round is in entry 07 of Hudson River Trading OA · 2022.
First round after the OA
- How
push_backworks and what it costs. Is it still amortized O(1) if capacity grows by 1000 each time? By 1.5 times? - A container with amortized O(1) push and pop at both ends, then O(1) random access.
- Threads vs processes, and ways processes communicate.
- Find any local minimum in an array of distinct values, then one in an n×n grid.
Common questions
What does the Hudson River Trading phone screen ask?
Mostly spoken questions on how things work underneath. Intern screens asked how maps, hash maps and vectors are built and how processes communicate (01, 07, 09, 14); three of them also had union-find or a 3D ray-intersection question (01, 07, 09). New grad screens went to C++ memory and OS questions (02) or to Python internals (03, 10, 12).
Does Hudson River Trading ask Python internals questions?
Yes, in five reports: yield and generators (03, 09, 10), with (03, 10), how a dictionary works and a dict subclass bug (03, 10), decorators (12), and basic Python Q&A (05). Python-sounding roles still got low-level questions: entry 12's posting suggested a few Python packages would do, and entry 13 applied for the Python track but had to use C++ in round 2.
What does the Hudson River Trading probability interview ask?
In the one report, three probability and statistics questions in 45 minutes. The one that was shared asks for the expected number of people met before someone taller than the first (06). A 2023 report likely had the same question, though its wording there is unclear (entry 02 in Hudson River Trading interviews · 2023).
What are the later Hudson River Trading rounds like?
Entry 11 had two 1-hour phone rounds (debugging over SSH, then data structures and algorithms) and a virtual onsite of three technical rounds (debugging, trade data processing, a trade data structure) plus a 45-minute culture fit, and got an offer. Entry 08 had a technical screen, a technical interview and two 3-hour final days. Entry 04's second round was the 2048 game's move.
How long does the Hudson River Trading interview process take?
About three weeks from start to finish in entry 06. In entry 08, more than three weeks passed between the OA and the first interview. Entry 04 was rejected a week after round 2.
Keep practicing
- Expected People Met Before Someone Taller: the probability question from entry 06.
- Hudson River Trading question bank: the company's coding and probability problems (sign-in needed).
- Hudson River Trading interview questions: every Hudson River Trading coding question we have, sorted by how often it was reported, with a filter by interview stage, plus its design and project-coding questions.
- Hudson River Trading hiring insights: how far recent applicants got, with OA, interview and offer rates from the past three months.
- Experience feed: the latest interview reports across companies.
Sources: Anywhere useful interview info can be found.
Comments
0No comments yet — be the first to share what you know.