All Companies

Hudson River Trading Interview Questions

58 real interview questions at Hudson River Trading.

Showing 31–58 of 58 questions

31

What is the difference between a hash map and a map?

Software Engineer InternSoftware Developer Intern
32

Find the k largest values in an array in average time O(n).

Software Engineer InternSoftware Engineer Intern
33

What does the system call fork do?

Software EngineerCore Software Engineer
34

Suppose you are walking down the street and randomly observing people. On average, how many people will you see before encountering someone taller than you?

Software EngineerAlgo Trading Developer
35

Choose a person X at random from the street. Let N be the random variable representing the number of additional people you must randomly select from the street before you find someone taller than X. What is the expected value E[N]?

Software EngineerTrading Algo Developer
36

1) A pretty number is a number in base 4 whose digits are all either 1 or 0. How many pretty numbers are there less than n? 2) Given a list of moves in Reversi, return the total number of pieces for each player at the end of the game. 3) Trees are given as lists of nodes, where each node is a list with data [key, value, *children], where the order of the children matters. Two trees must be merged (left and right). For a given merged node with the same key between left and right inputs, the merged value should come from the right tree. The list of the merged node's children should start with children from the left tree's child list, and then the leftover right tree's child list. Output (key1, value1, ...) in pre-order traversal.

Software Engineer InternAlgorithm Developer Intern
37

Given a person, what is the expected number of people you must observe before seeing someone taller than that person?

Software Engineer InternAlgorithm Developer Intern
38

Design an abstract class for task scheduling. What information do you need to store for each task?

Software Engineer InternSoftware Engineering Intern
39

How can you generate two random variables with correlation rho and variance 1 from two independent unit Gaussians?

Quant ResearcherQuant Researcher
40

What is the fastest way to sort an array? How does the solution change if you require the numbers to be sorted in place? How would your approach differ if you can make assumptions about the structure of the array?

Quant ResearcherQuant Researcher
41

Implement a number guessing game where the player tries to guess a randomly chosen integer between 0 and 1000. After each guess, provide feedback indicating whether the guess is closer or further from the target number than the previous guess.

Software EngineerJunior Algo Developer
42

What is the difference between a soft link and a hard link?

Software EngineerSystem Engineer
43

Given an array of integers, determine for each number if it can be written as the sum of two Fibonacci numbers.

InternSummer Intern
44

Given a set of points on the coordinate plane, determine how many distinct squares can be formed using these points as vertices.

InternSummer Intern
45

Given a set of points on a coordinate system, determine how many rectangles can be formed such that all four corners of the rectangle have their vertices among the given points.

InternSummer Intern
46

Given only survey responses where each student reports the size of their own room, and with no other information, how would you estimate the average room size?

Software EngineerDeveloper
47

Given two dates, write a function to count the number of days between them.

Software EngineerSoftware Engineer
48

What are the stages of a pipeline processor?

Software EngineerFPGA Engineer
49

What are the differences between a vector and a linked list?

Software EngineerSoftware Engineer
50

Given a race track with 5 lanes, 25 bunnies, and no timer, how many races are required to determine the top 3 fastest bunnies?

Software EngineerSoftware Engineer/Developer
51

How do you support multi-threading without kernel involvement?

Software EngineerSoftware Engineer/Developer
52

What is Principal Component Analysis?

TraderTrading Analyst
53

Given two strings S1 and S2, find the length of their longest common subsequence. If there is no common subsequence, return 0.

InternAlgorithm Development Internship
54

You roll a six-sided fair die repeatedly until you obtain each face at least once. On average, how many times do you need to roll the die?

InternAlgorithm Development Internship
55

q1: Check if given numbers can be written as the sum of two numbers in the Fibonacci sequence. q2: Perform specified data manipulation tasks using pandas. q3: Count the number of non-axis-aligned squares that can be formed from a list of points. q4: Count the number of non-axis-aligned rectangles that can be formed from a list of points.

InternAlgorithm Development Internship
56

Explain, at the hardware level, what a SIGSEGV (segmentation fault) is, what causes it, and how it is generated.

Software EngineerSenior Software Engineer
57

Give an algorithm to find the k-th largest element in an unsorted vector of integers.

Software EngineerSenior Software Engineer
58

How do you implement a multiplexer in an FPGA?

Software EngineerFPGA Engineer

Want the full solutions?

Get detailed walkthroughs for all 58+ Hudson River Trading questions with Quant Blueprint.

Get Started