Placement AptitudeModerateHCL · Tech Mahindra pattern

In how many ways can 8 identical chocolates be distributed among 3 children if a child may get none?

  1. A. 56
  2. B. 21
  3. C. 36
  4. D. 45

Correct answer: D. 45

Stars and bars: the number of non-negative solutions of a + b + c = 8 is (8 + 2)C2 = 10C2 = 45. 21 = 7C2 would be the count when every child must get at least one.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic