Six Glasses
Six identical glasses are placed in a row on the table – first three filled with water, and then three empty ones. Can you move just one glass, so that empty and full glasses alternate?
Six identical glasses are placed in a row on the table – first three filled with water, and then three empty ones. Can you move just one glass, so that empty and full glasses alternate?
What is the minimum number of folds you need in order to create a 3-inch measurement from an 8.5×11 inches paper?
Nine pirates have captured a treasure chest. In order to protect it, they decide to lock it using multiple locks and distribute several keys for each of these locks among them, so that the chest can be opened only by a majority of the pirates. What is the minimum number of keys each of the pirates should get?
A common type of questions which appears on Quant Interviews is:
“You have a sequence of random variables. How many times on average does a certain outcome appear in this sequence?”
Here are a few examples:
While such problems can be solved using induction, there is another, more elegant approach. It is based on the following observation:
The average number of successful events is equal to the sum of the probabilities that each of these events is successful. The events do NOT need to be independent.
Written mathematically, this translates to:
where is a random variable, such that if the i-th event is successful otherwise.
Let us see how to apply this technique to solve the coin question posed above.
We define a random variable which is equal to if and only if coin tosses are Tails-Tails-Heads respectively. We have:
It is easy to see that for each . Therefore, the answer to the problem is .
To solve the second problem, we define a random variable which is equal to if and only a husband and his wife are sitting on spots and around the table. For each the probability of this happening is equal to . Indeed, no matter who sits on spot , the chance that their spouse sits on spot is 1:9. Therefore, the average number of spouses sitting next to each other is:
As we can see, the presented technique is a simple, but very powerful tool. For extra practice, try to solve this fun puzzle from our blog on your own:
Three friends, Adam, Bob, and Charlie are buried in the sand up to their necks, all facing West. Charlie can see both Adam and Bom, Bom can see only Adam, and Adam cannot see anyone. Black and white hats are placed on their heads. The three friends are told that there is at least one hat from each color, and then they are asked whether anyone can guess the color of their own hat.
After a few minutes, one of them answers. Who is that?
A hundred fish are swimming along a stream at different velocities. If one fish catches up to another fish, it eats it and continues swimming. What is the expected number of fish that will survive?
Please confirm you want to block this member.
You will no longer be able to:
Please allow a few minutes for this process to complete.
Notifications