Placement AptitudeHardTCS NQT Advanced · Infosys SP

In how many permutations of 1, 2, 3, 4, 5, 6 is 1 not in the first place and 6 not in the last place?

  1. A. 480
  2. B. 504
  3. C. 600
  4. D. 576

Correct answer: B. 504

Total 720. 1 first: 120; 6 last: 120; both: 24. So 720 − 240 + 24 = 504. 480 forgets to add back the 24.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic