Placement AptitudeModerateTCS NQT · Infosys pattern

A password has 4 letters from A–Z (letters may repeat). How many passwords have at least one letter repeated?

  1. A. 97500
  2. B. 358800
  3. C. 456976
  4. D. 98176

Correct answer: D. 98176

All passwords: 26⁴ = 456976. All letters different: 26 × 25 × 24 × 23 = 358800. At least one repeat = 456976 − 358800 = 98176.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic