Placement AptitudeHardTCS NQT · Infosys pattern

How many three-digit numbers have digits that add up to 10?

  1. A. 55
  2. B. 54
  3. C. 45
  4. D. 63

Correct answer: B. 54

Write the number as abc with a ≥ 1: put a = a′ + 1 so a′ + b + c = 9, giving 11C2 = 55 non-negative solutions. Remove the one with a′ = 9 (that is a = 10, not a digit): 55 − 1 = 54. 55 is the trap of forgetting that cap.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic