Question: You have three coins. One always comes up heads, one always comes up tails, and one is just a regular coin (has equal change of heads or tails). If you pick one of the coins randomly and flip it twice and get heads twice, what is the chance of flipping heads again?
Answer: 90 percent. If you pick the heads coin the chance of getting the first 2 heads is 100 percent (4/4) and if you pick the fair coin the chance is 25 percent (1/4). So from this, the chance that it is the heads coin is 4/5 and the fair coin 1/5.
Then, if it is the heads coin you will definitely get heads (4/5). If you flip the fair coin it is 1/10 (1/5 * 1/2). Add the probabilities together: 4/5 + 1/10 = 9/10.
Question: There is a 5 gallon and a 3 gallon box. You also have a hose with unlimited water. How are you gonna make the 5 gallon have 4 gallons using your items? (You do not know the exact measure measurements of a gallon)
Answer: You fill the five gallon up and pour it into the 3 gallon. The dump the 3 gallon out and pour what was left in the 5 gallon into the 3 gallon so that you have 2 gallons in the 3 gallon. Then fill the 5 gallon up and pour it into the 3 gallon to fill it up. Now you have 4 gallons in the 5 gallons.