56 free probability puzzles to practise for Hudson River Trading interviews, in the style the firm is known for.
What Hudson River Trading tends to ask
Coding-heavy process; the math rounds cover expected value, conditional probability and Markov processes, often deriving the best strategy for a dice or card game and checking it by simulation.
Hudson River Trading is known to ask this kind of question at this level. These are practice in that style, not questions it's known to have asked.
A six is showing· difficulty 2 of 5You roll two fair dice behind a screen. A friend peeks and tells you: at least one die shows a 6. What is the probability that the two…
An even total, given an even product· difficulty 2 of 5You roll two 6-sided dice and are told their product is even. What is the probability their total is even too?
Both sixes, given a six· difficulty 2 of 5You roll two 6-sided dice and are told at least one shows 6. What is the probability both do?
Doubles, given an even total· difficulty 2 of 5You roll two 6-sided dice and are told the total is even. What is the probability you rolled a double?
The spider heads home· difficulty 2 of 5A web has a hub joined to 8 points on a rim, and the rim points are joined in a circle. A spider on the rim takes one of the 3 threads at…
The wandering rook· difficulty 2 of 5A rook starts in a corner of an empty 8 × 8 board. Each move, it jumps to any other square in its row or column, chosen at random. What is…
Which urn am I drawing from?· difficulty 2 of 5Urn A holds 3 red balls and 1 blue ball. Urn B holds 1 red ball and 3 blue balls. A fair coin flip picks one of the urns and you don't…
A second ace, given one· difficulty 3 of 5You're dealt 5 cards and told the hand has at least one ace. What is the probability it has at least two?
A six among three dice· difficulty 3 of 5You roll three dice and are told the total is 10. What is the probability at least one shows a six?
After a failed search· difficulty 3 of 5You think there's a 60% chance your keys are in the car. A quick search of the car finds them 80% of the time when they're there. You…
Back to the corner of the grid· difficulty 3 of 5A tourist starts at the corner of a city grid of 4 × 5 intersections. At every intersection they take one of the streets there at random.…
Back to the start corner· difficulty 3 of 5An ant walks at random along the edges of a 3-dimensional wire cube, one edge a second, each edge at its corner equally likely. It starts…
Exactly one six, given some· difficulty 3 of 5You roll 3 dice and are told at least one shows a six. What is the probability exactly one does?
Four or more, given three or more· difficulty 3 of 5A lottery draws 6 of the numbers 1 to 49, and your ticket has 6 numbers. You're told you matched at least 3. What is the probability you…
Guess which is bigger· difficulty 3 of 5Two numbers are drawn independently and uniformly between 0 and 1. You see one at random and guess whether it's the larger: you say…
Looking back at the first ball· difficulty 3 of 5An urn holds 3 red and 2 blue balls. You draw two balls, one after the other, at random without replacement, and set them aside without…
Making a biased coin fair· difficulty 3 of 5A bent coin lands heads with probability 0.7. You flip it twice and are told the two flips differ. What is the probability the first was…
Matching neighbors· difficulty 3 of 5A deck of 26 red and 26 black cards is shuffled so every order is equally likely, and laid out in a row. Count the neighboring pairs, the…
One step from the edge· difficulty 3 of 5A walker stands one step from the edge of a cliff. Each step, independently, they move one step away from the edge with probability 2/3…
Sick despite a negative test· difficulty 3 of 510% of people have a condition. A test catches 90% of those who have it and correctly clears 95% of those who don't. Someone tests…
The ant on the icosahedron· difficulty 3 of 5An ant walks along the edges of an icosahedron (12 corners, 5 edges at each). At every corner it picks one of the 5 edges at random. How…
The two-headed coin· difficulty 3 of 5A magic shop's bag holds 4 fair coins and one coin with heads on both sides. You pull out a coin at random without looking at it, flip it…
The wandering king· difficulty 3 of 5A king starts in a corner of an empty 8 × 8 board. Each move, it steps to one of the squares around it, chosen at random among those on…
Two adjacent bullets, no re-spin· difficulty 3 of 5A six-chamber cylinder holds two blank cartridges in adjacent chambers. It's spun once, then two players take turns pulling the trigger,…
Walking away from a wall· difficulty 3 of 5You stand with your back to a wall at the end of a corridor. Each second you take a step: from the wall you can only step away from it;…
A board with one slide· difficulty 4 of 5On a board of squares 0 to 20, you start on 0 and roll a die each turn, moving forward that many squares. Landing exactly on square 12…
Across the ladder· difficulty 4 of 5A ladder has 4 rungs; each rung joins a left and a right post point, and the post points are joined to the ones above and below. A beetle…
All heads, given two in a row· difficulty 4 of 5You flip a fair coin 4 times and are told that somewhere there were two heads in a row. What is the probability every flip was heads?
All in one box again· difficulty 4 of 56 numbered balls start in box A; box B is empty. Each second a ball is chosen at random (each of the 6 equally likely) and moved to the…
An urn of unknown mix· difficulty 4 of 5An urn holds 10 balls. The number of red ones is equally likely to be any of 0, 1, …, 10; the rest are blue. You draw one ball and it's…
Betting the don't pass· difficulty 4 of 5At craps the don't-pass bet wins on a first roll of 2 or 3, loses on 7 or 11, and ties on 12. Otherwise the total becomes the point, and…
Brown eyes, blue-eyed sibling· difficulty 4 of 5In a simple model, blue eyes need two copies of a recessive gene, one from each parent. A brown-eyed woman's parents are both brown-eyed,…
Buying a used car· difficulty 4 of 5A used car's quality q is uniform from 0 to 100 (in hundreds of dollars); the seller knows q, you don't. You value a car at 50% more than…
Down to a leaf of the tree· difficulty 4 of 5A squirrel starts at the root of a full binary tree 5 levels deep. At each branch point it moves to one of the neighboring points at…
How long a tennis game lasts· difficulty 4 of 5In a tennis game the server wins each point with probability 0.6, independently. The game goes to the first to 4 points, but must be won…
How often you pass the start· difficulty 4 of 5A walker starts at point 3 on a path from 0 to 10 and steps left or right at random each second, stopping when it reaches 0 or 10.…
Lost on the subway· difficulty 4 of 5A lost tourist starts at the first station of a subway line with 11 stations in a row. At every station they board a train in a random…
Never back to even· difficulty 4 of 5You win a point for each head and lose one for each tail of a fair coin. What is the chance that in 10 flips the score is never back to…
One positive, one negative· difficulty 4 of 510% of people are sick. A test flags 90% of sick people and 10% of healthy people, and repeat tests are independent given the person's…
Passing the second exam· difficulty 4 of 540% of students are strong and pass each exam with probability 90%; the rest pass each with probability 50%, exams independent given the…
Pig: holding at twenty· difficulty 4 of 5In Pig you roll a die repeatedly, adding the faces to your turn total; rolling a 1 wipes the turn total and ends your turn. You stop and…
Rebalancing a coin-flip stock· difficulty 4 of 5Each period a stock goes up 100% or down 50%, equally likely. You keep 50% of your wealth in the stock and the rest in cash (earning…
Selling when each day costs· difficulty 4 of 5Offers for your house arrive one a day, each uniform from $0 to $100 thousand, and every day costs you $2 thousand. Rejected offers are…
Ten heads from a mystery coin· difficulty 4 of 5A coin comes out of a machine with an unknown probability of heads, equally likely to be any value between 0 and 1 (a uniform prior). It…
The fly on the dodecahedron· difficulty 4 of 5A fly walks along the edges of a dodecahedron (20 corners, 3 edges at each). At every corner it picks one of the 3 edges at random. How…
The host who forgot· difficulty 4 of 5A prize is behind one of 3 doors. You pick door 1. The host has forgotten where the prize is and opens one of the other two doors at…
The king crosses the board· difficulty 4 of 5A king starts in one corner of a 4 × 4 board and makes random legal moves, each equally likely. How many moves on average until it first…
The last number on the clock· difficulty 4 of 5A bug starts at the top of a clock face with 12 equally spaced positions. Each second it moves one position clockwise or anticlockwise,…
The mouse and the cheese· difficulty 4 of 5A maze is a 3 × 3 grid of rooms, with doors between rooms that share a wall. A mouse starts in one corner room and the cheese is in the…
The wandering knight· difficulty 4 of 5A knight starts in a corner of an empty 8 × 8 board. Each move, it picks one of its legal knight moves at random. What is the expected…
Too much of a good bet· difficulty 4 of 5You've found an even-money bet that wins 60% of the time. Every round you stake 50% of your current bankroll, so a win multiplies your…
Two ants on a ring· difficulty 4 of 5Two ants sit 6 spots apart on a ring of 12 spots. Every second both move one spot, each clockwise or anticlockwise at random,…
Visiting both ends of the hall· difficulty 4 of 5A robot sits at spot 4 of a hallway with spots 0 to 10. Each second it moves one spot left or right at random (at an end it must step back…
White again from the same box· difficulty 4 of 5Box 1 holds 2 white and 1 black marble; box 2 holds 1 white and 2 black. You pick a box at random and draw a white marble. Without putting…
Will a losing walk ever get ahead?· difficulty 4 of 5A walk starts at 0 and steps up 1 with probability 0.4 or down 1 otherwise, forever. What is the probability that it ever reaches +1?
Will the family name die out?· difficulty 4 of 5Each person in a family line has 0 children with probability 25%, 2 children with probability 50%, and otherwise 1 child, independently.…