Mathematics (JEE)Very hardGATE CS · ISI
A fair coin is tossed repeatedly. What is the probability that the pattern HTH appears before the pattern HHH does?
- A. 2/5
- B. 1/2
- C. 3/5
- D. 1/8
Correct answer: C. 3/5
Track the longest suffix that is a prefix of HTH or HHH (states: none, H, HT, HH) and solve the first-step equations. The complement, that HHH comes first, is 1 minus this value, which is not the answer.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- A standard 52-card deck with 4 aces is shuffled and cards are turned over one at a time. What is the expected number of cards turned over…
- Three distinct numbers are chosen uniformly at random from {1, 2, ..., 10}, with every 3-subset equally likely. What is the probability…
- Two fair dice are rolled. Given that the sum is even, what is the probability that the first die shows a strictly larger number than the…
- Two fair dice are rolled. Given that the sum of the two faces is at least 9, what is the expected value of the sum?
- Three fair six-sided dice are rolled. What is the expected value of the largest face shown?
- A permutation of 1 through 6 is chosen uniformly at random from all 720 orderings. A position is a left-to-right maximum if its value…