Placement AptitudeHardAmazon OA · CAT

How many binary strings of length 10 contain exactly four 1's, with no two 1's next to each other?

  1. A. 35
  2. B. 210
  3. C. 70
  4. D. 56

Correct answer: A. 35

Lay down the six 0's; they create 7 gaps (including both ends), and the four 1's must go into 4 different gaps: C(7, 4) = 35. 210 = C(10, 4) ignores the restriction.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic