Placement AptitudeHardCAT · TCS NQT · Goldman Sachs OA

How many non-negative integer solutions does x₁ + x₂ + … + x4 = 12 have?

  1. A. 16777216
  2. B. 364
  3. C. 495
  4. D. 455

Correct answer: D. 455

Stars and bars: C(n+k−1, k−1) = C(15, 3) = 455.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic