Placement AptitudeHardTCS NQT Advanced · Amazon OA

A fair coin is tossed 5 times. What is the probability that no two heads come up on consecutive tosses?

  1. A. 11/32
  2. B. 1/2
  3. C. 8/32
  4. D. 13/32

Correct answer: D. 13/32

Strings of length n with no HH follow a(n) = a(n − 1) + a(n − 2): 2, 3, 5, 8, 13. So 13 of the 32 outcomes work: 13/32.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic