Home > Interview > Quant Tutorial > Logic and Reasoning

Glass balls

You are holding two glass balls in a 100-story building. If a ball is thrown out of the window, it will not break if the floor number is less than X, and it will always break if the floor number is equal to or greater than X, You would like to determine X. What is the strategy that will minimize the number of drops for the worst case scenario?10
Click here to see the my solution
– Source:Green Book P19

P65-P67

1. Poker hands

Poker is a card game in which each player gets a hand of 5 cards. There are 52 cards in a deck. Each card has a value and belongs to a suit. There are 13 values,What are the probabilities of getting hands with four-of-a-kind (four of the five cards with the same value)? Hands with a full house (three cards of one value and two cards of another value)? Hands with two pairs?

2. Hopping rabbit

A rabbit sits at the bottom of a staircase with n stairs. The rabbit can hop up only one or two stairs at a time. How many different ways are there for the rabbit to ascend to the top of the stairs?3

3. Screwy pirates 2

Having peacefully divided the loot (in chapter 2), the pirate team goes on for more looting and expands the group to 11 pirates. To protect their hard-won treasure, they gather together to put all the loot in a safe. Still being a democratic bunch, they decide that only a majority- any majority - of them(≥6) together can open the safe. So they ask a locksmith to put a certain number of locks on the safe. To access the treasure,
every lock needs to be opened. Each lock can have multiple keys; but each key only opens one lock. The locksmith can give more than one key to each pirate. What is the smallest number of locks needed? And how many keys must each pirate carry?

Click here to see the my solution
– Source:Green Book P65-67

Chess Tournament

A chess toumament has 2” players with skills 1>2>·>2”. It is organized as a knockout tournament, so that after each round only the winner proceeds to the next round. Except for the final, opponents in each round are drawn at random. Let’s also assume that when two players meet in a game, the player with better skills always wins, What’s the probability that players 1 and 2 will meet in the final??
Click here to see the my solution
– Source:Green Book P68

Application Letters

You’re sending job applications to 5 firms: Morgan Stanley, Lehman Brothers, UBS,Goldman Sachs, and Merrill Lynch. You have 5 envelopes on the table neatly typed with names and addresses of people at these 5 firms. You even have 5 cover letters personalized to each of these firms. Your 3-year-old tried to be helpful and stuffed each cover letter into each of the envelopes for you. Unfortunately she randomly put letters into envelopes without realizing that the letters are personalized. What is the probability that all 5 cover letters are mailed to the wrong firms?”*
Click here to see the my solution
– Source:Green Book P69

100th digit

What is the 100th digit to the right of the decimal point in the decimal representation of $$(1+\sqrt{2})^{3000}$$
Click here to see the my solution
– Source:Green Book P71

P71-P72

1.Birthday Problem

How many people do we need in a class to make the probability that two people have the same birthday more than 1/2?(For simplicity, assume 365 days a year.)

2.Cubic of integer

Let x be an integer between 1 and 10’2, what is the probability that the cubic of x ends with 11?*
(*Hint: The last two digils of x3 only depend on the last two digits of x.)
Click here to see the my solution
– Source:Green Book P71-P72

P73-P75

1.Boys and girls

Part A. A company is holding a dinner for working mothers with at least one son. Ms.Jackson, a mother with two children, is invited. What is the probability that both children are boys?

All-gIrl world?

In a primitive society, every couple prefers to have a baby girl. There is a 50% that each child they have is a girl, and the genders of their children are mutually independent. If each couple insists on having more children until they get a girl and once they have a girl they will stop having more children, what will eventually happen to the fraction of girls in this society?

Unfair coin

You are given 1000 coins. Among them, 1 coin has heads on both sides. The other 999 coins are fair coins. You randomly choose a coin and toss it 10 times. Each time, the coin tumns up heads. What is the probability that the coin you choose is the unfair one?

Fair probability from an unfair coin

If you have an unfair coin, which may bias toward either heads or tails at an unknown probability, can you generate even odds using this coin?

Dart game

Jason throws two darts at a dartboard, aiming for the center. The second dart lands farther from the center than the first. If Jason throws a third dart aiming for the center, what is the probability that the third throw is farther from the center than the first?Assume Jason’s skillfulness is constant.

Click here to see the my solution
– Source:Green Book P73-75

birthday line

At a movie theater, a whimsical manager announces that she will give a free ticket to the first person in line whose birthday is the same as someone who has already bought a ticket. You are given the opportunity to choose any position in line. Assuming that you don’t know anyone else’s birthday and all birthdays are distributed randomly throughout the year (assuming 365 days in a year), what position in line gives you the largest chance of getting the free ticket?
Click here to see the my solution
– Source:Green Book P76

P78

1. Monty Hall problem

We throw 3 dice one by one. What is the probability that we obtain 3 points in strictly increasing order?*
(*Hint:To oblain 3 points in strictly increasing order, the 3 poins musl be differenl, For 3 different poinis in a sequence, strictly increasing order is one of the possible permutations.)

2. Monty Hall Problem

Monty Hall problem is a probability puzzle based on an old American show Let’s Make a Deal. The problem is named after the show’s host. Suppose you’re on the show now,and you’re given the choice of 3 doors. Behind one door is a car; behind the other two,goats. You don’t know ahead of time what is behind each of the doors.You pick one of the doors and announce it. As soon as you pick the door, Monty opensone of the other two doors that he knows has a goat behind it. Then he gives you theo ption to either keep your original choice or switch to the third door. Should you switch?
What is the probability of winning a car if you switch?

Click here to see the my solution
– Source:Green Book P78

P79

1. Amoeba population

There is a one amoeba in a pond. After every minute the amoeba may die, stay the same,split into two or split into three with equal probability. All its offspring, if it has any, will bebave the same(and independent of other amoebas). What is the probability the amoeba population will die out?

2. Candies in a jar

You are taking out candies one by one from a jar that has 10 red candies, 20 blue candies,and 30 green candies in it. What is the probability that there are at least 1 blue candy and 1 green candy lef in the jar when you have taken out all the red candies?

Click here to see the my solution
– Source:Green Book P79

P80

1. Coin toss game

Two players,A and B, altematively toss a fair coin (A tosses the coin first, then B tosses the coin, then A, then B..). The sequence of heads and tails is recorded. If there is a head followed by a tail (HT subsequence), the game ends and the person who tosses the tail wins. What is the probability that A wins the game?*
(*Hint:condiion on the result of A’s first toss and use symmelry)

2. Russian Roulette Series

Let’s play a traditional version of Russian roulette. A single bullet is put into a 6-chamber revolver. The barrel is randomly spun so that each chamber is equally likely to be under the hammer. Two players take tums to pull the trigger—with the gun unfortunately pointing at one’s own head—without further spinning until the gun goes off and the person who gets killed loses. If you, one of the players, can choose to go first or second, how will you choose? And what is your probability of loss

Click here to see the my solution
– Source:Green Book P80

P82-83

1. ACEs

You have 100 noodles in your soup bowl. Being blindfolded, you are told to take two ends of some noodles (each end on any noodle has the same probability of being chosen) in your bowl and connect them. You continue until there are no free ends. The number of loops formed by the noodles this way is stochastic. Calculate the expected number of circles.

2. Gambler’s Ruin Problem

A gambler starts with an initial fortune of i dollars. On each successive game, the gambler wins l with probability p,0< p< 1,or loses 1 with probability q=1-p.He will stop if he either accumulates N dollars or loses all his money. What is the
probability that he will end up with N dollars?

Click here to see the my solution
– Source:Green Book P93

Connecting Noodles

You have 100 noodles in your soup bowl. Being blindfolded, you are told to take two ends of some noodles (each end on any noodle has the same probability of being chosen) in your bowl and connect them. You continue until there are no free ends. The number of loops formed by the noodles this way is stochastic. Calculate the expected number of circles.

Click here to see the my solution
– Source:Green Book P93

Others

Coin Question

– Probability of getting at least 3 consecutive heads when tossing a coin 10 times.
– For a fair coin, how many times should you toss it to get 2 consecutive heads?
Click here to see the my solution