Placement AptitudeVery hardTCS NQT · Infosys · Wipro

How many solutions in positive integers does x + y + z + w = 15 have?

  1. A. 455
  2. B. 364
  3. C. 1365
  4. D. 330

Correct answer: B. 364

Positive solutions: 14C3 = 364. 455 is 15C3, which wrongly treats the variables as allowed to be zero.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic